Hi
I notice incorrect syntax highlighting in c or c++
with vim-7.4.488 when typing:
#define FOO0BAR
To reproduce, type...
$ vim -u NONE \
-c 'setfiletype c' \
-c 'syntax on' \
-c "call feedkeys('i#define FOO0BAR')"
... and notice that FOO0BAR is highlighted in 2 colors:
* FOO has syntax group cDefine
* 0BAR has syntax group cCppOut2
Vim-7.4 was highlighting correctly.
The regression was introduced in this
changeset which modified c.vim:
changeset: 6259:bd18da914be9
user: Bram Moolenaar <[email protected]>
date: Thu Oct 02 01:41:41 2014 +0200
files: runtime/autoload/phpcomplete.vim runtime/compiler/msvc.vim
runtime/doc/autocmd.txt runtime/doc/editing.txt runtime/doc/eval.txt
runtime/doc/map.txt runtime/doc/netbeans.txt runtime/doc/options.txt
runtime/doc/os_win32.txt runtime/doc/syntax.txt runtime/doc/tags
runtime/doc/todo.txt runtime/doc/version7.txt runtime/doc/windows.txt
runtime/syntax/c.vim runtime/syntax/valgrind.vim
description:
Update runtime files.
Regards
Dominique
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.