Vim logo vim online Vim Book Ad

basic Tip #362: matchit.vim and coldfusion (and perhaps others)

 tip karma   Rating 4/1, Viewed by 312 

created:   November 7, 2002 2:19      complexity:   basic
author:   zzapper      as of Vim:   5.7

Hi VIMmites

I couldn't get any tags to match in Coldfusion files *.cfm either HTML Javascript or ColdFusion tags themselves <cfif ..> ... </cfif>

Much pain was gone thru before I realised that the Syntax File for ColdFusion
(/syntax/cf.vim) was called cf and not cfm

Therefore in matchit.cfm I need to add CF in following line and NOT CFM

au FileType html,jsp,php,cf if !exists("b:match_words") |

zzapper

 rate this tip  Life Changing Helpful Unfulfilling 

<<Use xdvi (or kdvi) in conjunction with gvim (or vim) and converse | Starting up Vim very fast expecially from a telnet session >>

Additional Notes

[email protected], November 7, 2002 6:18
I meant edit matchit.vim (not matchit.cfm)
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo