When I'm editing html and xhtml files in MacVim, sometimes I need to comment embedded css styles, so when I try to switch to the alternative set of delimiters ( ca ), the plugin warns me with:
NERDCommenter:cannot use alternative delimiters, none are specified
My question is:
how can I specify these alternative delimiters?
These can be specified in the config variable
g:NERDCustomDelimiters
(before the plugin is sourced, e.g. in your~/.vimrc
):Added these lines to my .vimrc :
NOTE: Don't forget about the commas after the curly braces!! :)