- Robert Hicks wrote:
> Is there a way to highlight unmatched strings for " and ' in a syntax file?Have a look at syntax/vim.vim, where an unpaired " starts a comment.
- --- Tim Chase <vim@...> wrote:
> > Is there a way to highlight unmatched strings for " and ' in a syntax file?Here's two matches which will find a string that extends to the end of the
> What is an "unmatched string"?
syntax match Error /"\%(\\.\|[^"]\)*$/
syntax match Error /'\%(\\.\|[^']\)*$/
Do you Yahoo!?
Take part in Total Girls Ultimate Slumber Party and help break a world record