]> git.pld-linux.org Git - packages/vim.git/blame - vim-ft-mysql.patch
- new
[packages/vim.git] / vim-ft-mysql.patch
CommitLineData
f59c5175
ER
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="\*/"
218e0181
ER
12--- vim72/runtime/filetype.vim~ 2010-01-21 21:47:56.000000000 +0200
13+++ vim72/runtime/filetype.vim 2010-04-22 14:27:15.550974158 +0300
14@@ -1151,7 +1151,7 @@
15 au BufNewFile,BufRead *.msql setf msql
16
17 " Mysql
18-au BufNewFile,BufRead *.mysql setf mysql
19+au BufNewFile,BufRead *.mysql,.*mysql_history* setf mysql
20
21 " M$ Resource files
22 au BufNewFile,BufRead *.rc setf rc
This page took 0.031123 seconds and 4 git commands to generate.