Thanks, guys, this worked perfectly!
But it turns out I was wrong about knowing how to change the syntax
file. Specifically:
How do I change the priority of the highlights? I want the column
warning to show even if it is a number which spans the maximum
column. I think these are the relevant lines in question:
syn region fortranStringEx start=+'+ end=+'+
contains=fortranContinueMark,fortranLeftMargin,fortranSerialNumber
syn region fortranString start=+"+ end=+"+
contains=fortranLeftMargin,fortranContinueMark,fortranSerialNumber
"Flag items beyond column 180 (WAS: 72)
syn match fortranSerialNumber excludenl "^.\{181,}$"lc=180
HiLink fortranSerialNumber Todo
HiLink fortranStringEx fortranString
HiLink fortranString String
Is the highlight priority simply a matter of reordering the HiLink
lines? Because that didn't seem to work.
- 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