> 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

Thanks, Chip, that worked!

> or in .../ftplugin/fortran.vim:
> set cc=72
> match Error /\%>71c.*$/

Okay, the match thing also worked.  Maybe cc does too, but I am using
version 7.2.
Actually, I like this answer better, as it makes fewer changes.

- 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

Reply via email to