danabble wrote:
match Error /\%>71c.*$/
A more syntax-based approach would require you convert all keywords
into matches, and to have them contain a new syntax group as shown:

Current: (example)
syn keyword fortranStructure    dimension

Change Keywords to Matches: (example)
syn match fortranStructure "\<dimension\>"

Specify new fortranPast72 group:
syn match fortranPast72 '\%>71c.*$' containedin=ALL
hi link fortranPast72 Error
Okay, upon further testing, neither of these exactly work,
as they also highlight whitespace and comments.

I'd like it only to match if it's in code (ie, fortranStructure?).
Then you'll need to use, instead of containedin=ALL, containedin=ALLBUT, [put a list of exceptions here]

Regards,
Chip Campbell

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

Reply via email to