Thursday, May 19, 2011

add items to a syntax file as a vertical list?

I would like to edit the file syntax cpp.vim and include some new extensions to highlight. I would like to add these news extension as a vertical list, and not in the same line.

The normal way:
syn keyword ITK a b c d e

The way that I would like to get, using a vertical list
syn keyword ITK
a
b
c
d
e


Is there any way to add a vertical list of items?

--
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

No comments: