> 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?). -dan -- 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
