1. add /wd4819 flags to cl compiler (vc2008), avoid the warnings when the
source-file has charactor out of ascii (ascii.h, line 126 the '?', can
change it into '\xA3' ??)
2. FuncUndefined autocmd's is the function name, but it expanded
into the full-path, so add EVENT_FUNCUNDEFINED to avoid it.
3. add @echo off and @echo on to msvc2008.bat to make output bueatifull a
little.
4. add a (unsigned) to avoid cl's warning.
====
okay, after reading the code of Vim, i'm writing a new vim script syntax
highlight file, but i meet some questions.
if you did this, it works well:
syn match vimLineContinue /\\\n/ contained
syn region vimComment excludenl start='"' end='$' contains=vimLineContinue
syn sync fromstart
but, if you use \n but not \\ for start of line continue(just like
vim-script), it worked stranged:
syn match vimLineContinue /\n\s*\\/ contained
it can't work, and
syn match vimLineContinue /.\n\s*\\/ contained
worked, but it can't refresh automaticly.
so, my question is: 1. how to implement line-continue correctly (the first
code is right?), 2. how to implement the vim-style line continue??
thanks for attention :-)------------------------------------------------------------------- 新浪空间——与朋友开心分享网络新生活!(http://space.sina.com.cn/ ) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
vim.patch
Description: Binary data
