]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(mysql): update syntax script
authorYinzuo Jiang <jiangyinzuo@foxmail.com>
Sun, 21 Jul 2024 07:27:27 +0000 (09:27 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 21 Jul 2024 07:27:27 +0000 (09:27 +0200)
commit6e37575760022be047cad0e1cf1e30c18fab21ad
treef105e31ecc3fc3c814ef37a1df768d7934263151
parentaa495124f80812b9c8c1942e6c4f9ce2242ea01f
runtime(mysql): update syntax script

Problem:

- `syn region ...`s in syntax/mysql.vim match function names inaccurately.
- no syntax rules for mysql window function.
- coarse highlight definition in syntax/mysql.vim.

Solution:

- add `\<` before the function name for accuracy.
- add syntax rules for mysql window function.
- enhance the highlight definition.

closes: #15311

Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/mysql.vim