No syntas highlights for jQuery functions.
Hi,
I install this plugin with Vundle,everything seems OK.
Then I open a simple .js file,(I know jQuery is enabled by default.)just input:
jQuery("#id").ready(function(){
});
Anyhow,the word ready is displayed as plain text ,rather than function color.
So , did I use it in the wrong way ?
Ps:
Is this plugin conflict with othree/javascript-libraries-syntax.vim'?
Thanks.
I think you miss typed the library name you talk about in last line.
As for the author problem - it's probably your colorscheme that's lacking some coloring - try Gotham or Solarized and check if it's still happening - it works for me on both of them.
However, othree, the selectors starting with colon (:) doesn't change color and use string default one:
You can see this in image above - 1st line - :contains and later :lt and :gt.
And it doesn't work for every one that starts with colon. Maybe it's my colorscheme but apart from this ones everything else works fine.
I assume that's because all of these selectors needs to be inside string 'markers' so it defaults into string coloring and there's not much that can be done?
@haRacz I think its not very well to affect all strings (old implementation). And I have a plan to fix it. I just turn it off recently.