Benjamin R. Haskell:
> Your example worked for me if I first cleared syntax:
In fact, it was working when the buffer's file type was not defined.
> If you want them to work for all filetypes, you'll have to do something more
> drastic. My first thought is the following -- try putting them in an
> autocmd that runs before filetype-detection:
It will not work because the 'contained' rules require a 'contains'
counterpart.
It means one has to examine the existing highlight groups and append
custom elements to its 'contains' attribute.
What I ended up doing was:
- Create a '_global.vim' file in '~/.vim/after/syntax/'.
- Create symlinks to this file for each relevant file types.
The result is available here:
http://bit.ly/LDBo5t
Thanks,
--
b.d
(| |)
^ ^
--
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:
Post a Comment