]> git.pld-linux.org Git - packages/vim.git/commitdiff
- allow multiple underscores in user (and system) variables like @@tmp_table_size auto/ac/vim-7_2_411-3
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Apr 2010 16:02:12 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-ft-mysql.patch -> 1.1
    vim.spec -> 1.505

vim-ft-mysql.patch [new file with mode: 0644]
vim.spec

diff --git a/vim-ft-mysql.patch b/vim-ft-mysql.patch
new file mode 100644 (file)
index 0000000..7556d61
--- /dev/null
@@ -0,0 +1,11 @@
+--- vim72/runtime/syntax/mysql.vim~    2007-12-20 06:09:52.000000000 +0200
++++ vim72/runtime/syntax/mysql.vim     2010-04-19 18:51:24.000000000 +0300
+@@ -62,7 +62,7 @@
+ syn match mysqlNumber            "\<0x[abcdefABCDEF0-9]*\>"
+ " User variables
+-syn match mysqlVariable          "@\a*[A-Za-z0-9]*[._]*[A-Za-z0-9]*"
++syn match mysqlVariable          "@\a*[A-Za-z0-9]*\([._]*[A-Za-z0-9]\)*"
+ " Comments (c-style, mysql-style and modified sql-style)
+ syn region mysqlComment          start="/\*"  end="\*/"
index dbae1d1ae29e0c7dd14a534188659dc200cf3bdb..14aa632c019dbb44c6103efdb99529859d38a776 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -113,6 +113,7 @@ Patch113:   %{name}-locales.patch
 Patch114:      %{name}-rtdir.patch
 Patch115:      %{name}-ft-mib.patch
 Patch116:      %{name}-ft-lib-udevrules.patch
+Patch117:      %{name}-ft-mysql.patch
 URL:           http://www.vim.org/
 BuildRequires: acl-devel
 BuildRequires: autoconf
@@ -725,6 +726,7 @@ jak również GUI GTK+2.
 %patch114 -p1
 %patch115 -p1
 %patch116 -p1
+%patch117 -p1
 
 cp -a %{SOURCE20} runtime/syntax
 cp -a %{SOURCE22} runtime/syntax
This page took 0.247542 seconds and 4 git commands to generate.