cf-utils.vim icon indicating copy to clipboard operation
cf-utils.vim copied to clipboard

`#` When not in output is looked at as CFML variable

Open davejlong opened this issue 13 years ago • 4 comments

When there is a single # in code that is not there for ColdFusion (ex. in CSS referencing ID outside of <cfoutput> tags), the parser thinks it should be a variables. There should be a check for if the # is either inside of a ColdFusion tag or if it is inside of a<cfoutput> tags. Any other instance shouldn't be seen as a CFML variable.

davejlong avatar May 01 '12 23:05 davejlong

There was a stackoverflow question by someone who was working on this issue which contains what is still a compromise but better than the current situation: http://stackoverflow.com/questions/2359399/vim-syntax-highlighting-of-coldfusion-hash-marks

TheCycoONE avatar May 14 '12 14:05 TheCycoONE

Thanks. That may help me figure out why it breaks like it does.

David Long Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Monday, May 14, 2012 at 10:07 AM, Stephen E. Baker wrote:

There was a stackoverflow question by someone who was working on this issue which contains what is still a compromise but better than the current situation: http://stackoverflow.com/questions/2359399/vim-syntax-highlighting-of-coldfusion-hash-marks


Reply to this email directly or view it on GitHub: https://github.com/davejlong/cfml-utils.vim/issues/1#issuecomment-5690954

davejlong avatar May 14 '12 14:05 davejlong

I mostly fixed the bug in the latest commit 7c543fb7c3ad7112de0f1f6637a0ff3de77762bc

davejlong avatar Jun 13 '12 14:06 davejlong

Spiffy.

TheCycoONE avatar Jun 13 '12 15:06 TheCycoONE