Tuesday, December 21, 2010

Using match in modeline?

I have this command to highlight columns in my vimrc, and I would like to transform it to modeline:
:au BufWinEnter *.colorize let w:m1=matchadd('ErrorMsg', '\%<39v.\%>20v', -1)

I have tried this, but it doesn't work:
vim:match ErrorMsg '\%<39v.\%>20v'

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