]> git.pld-linux.org Git - packages/vim.git/blob - vim-ft-mysql.patch
- allow multiple underscores in user (and system) variables like @@tmp_table_size
[packages/vim.git] / vim-ft-mysql.patch
1 --- vim72/runtime/syntax/mysql.vim~     2007-12-20 06:09:52.000000000 +0200
2 +++ vim72/runtime/syntax/mysql.vim      2010-04-19 18:51:24.000000000 +0300
3 @@ -62,7 +62,7 @@
4  syn match mysqlNumber            "\<0x[abcdefABCDEF0-9]*\>"
5  
6  " User variables
7 -syn match mysqlVariable          "@\a*[A-Za-z0-9]*[._]*[A-Za-z0-9]*"
8 +syn match mysqlVariable          "@\a*[A-Za-z0-9]*\([._]*[A-Za-z0-9]\)*"
9  
10  " Comments (c-style, mysql-style and modified sql-style)
11  syn region mysqlComment          start="/\*"  end="\*/"
This page took 0.05413 seconds and 4 git commands to generate.