Open jphustman opened 10 years ago
Thanks for the report. The cfml syntax file is still mostly the original syntax file bundled with Vim. I'll try to look at this and see if I can track it down to using the /* */
and //
style comments in CFScript.
Just for information's sake, how are you inserting the comments?
I use https://github.com/scrooloose/nerdcommenter.
Make sure that you have filetype plugins enabled, as the script makes use of |'commentstring'| where possible (which is usually set in a filetype plugin).
Occasionally I have to resort to starting a component with
<cfcomponent><cfscript>
.Automatically adding in comments puts the wrong comment type within the cfscript tag. I can't figure out how to determine whether or not we are in a cfscript tag to adjust the commentstring in https://github.com/davejlong/cf-utils.vim/blob/master/ftplugin/cfml.vim#L17