Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No syntas highlights for jQuery functions. #45

Open
lookforit opened this issue Nov 23, 2015 · 3 comments
Open

No syntas highlights for jQuery functions. #45

lookforit opened this issue Nov 23, 2015 · 3 comments

Comments

@lookforit
Copy link

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.

@othree
Copy link
Owner

othree commented Jan 19, 2016

I think you miss typed the library name you talk about in last line.

@haRacz
Copy link

haRacz commented Jan 27, 2016

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:
colon-highlight
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?

Tested on Gotham and Solarized

@othree
Copy link
Owner

othree commented Jan 29, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants