Re: vimscript syntax problem
- H Xu wrote:
> On 2011/2/1 15:50, Christian Brabandt wrote:As a further note: a while back I suggested an addition to the syntax
>> On Mon, January 31, 2011 6:20 pm, H Xu wrote:
>>> Hello everybody,
>>> In a vimscript file, parentheses across multi lines is highlighted as
>>> errors, which is shown in the attachment. Is there any way to fix this?
>> This was recently discussed here. See the thread starting at
support in vim, that it provide something like
syntax [HLGroup] eolcontinue '\\'
syntax [HLGroup] bolcontinue '^\s*\\'
(eolcontinue == end-of-line continue, bolcontinue == beginning-of-line
and then the syntax engine would presumably just glide over such
continuation patterns, thereby avoiding a lot of effort to handle such
things everywhere in a syntax file.
You received this message from the "vim_use" 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