Bug#367777: vim-runtime: typo in syntax/mysql.vim
Bryan Richter
bryan.richter at gmail.com
Wed May 17 22:36:23 UTC 2006
Package: vim-runtime
Version: 1:6.4-007+1
Severity: minor
Tags: patch
Vim doesn't properly highlight the type of mysql comments that match the
following: /^--.*/ . There is a space in the match pattern in mysql.vim,
which I assume is incorrect because mysqldump itself outputs lines that
match /^--$/, and sql.vim would seem to agree with me. :)
I don't think this warrants an attached patch; I'll just inline it:
----------- diff output --------
--- mysql.vim.old 2006-05-17 15:29:39.000000000 -0700
+++ mysql.vim 2006-05-17 15:29:51.000000000 -0700
@@ -67,7 +67,7 @@
" Comments (c-style, mysql-style and modified sql-style)
syn region mysqlComment start="/\*" end="\*/"
syn match mysqlComment "#.*"
-syn match mysqlComment "-- .*"
+syn match mysqlComment "--.*"
syn sync ccomment mysqlComment
" Column types
--------- end output -------------
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1)
vim-runtime depends on no packages.
Versions of packages vim-runtime recommends:
ii vim 1:6.4-007+1 Vi IMproved - enhanced vi editor
-- no debconf information
More information about the pkg-vim-maintainers
mailing list