On Dec 15, 12:03 pm, AK <[email protected]> wrote: > In vim7.3, syn region doesn't seem to work for me even though syn match > works fine: > > syn region hl1 start=/(/ end=/)/ > hi def hl1 guifg=#57a guibg=#333 > > (test) is not highlighted at all.
Syntax regions work fine in Vim 7.3, they are used all over the place in the official runtime files. What else is in your syntax file? Does it work if you take the "def" out of your highlight rule? Is your syntax file actually being sourced? Or are you entering these from the command line? Is syntax even turned on? What is the syn match command that works fine? Are both rules active at the same time? -- 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
