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

Changing function name color for javascript #5

Open
bubuzzz opened this issue Nov 15, 2016 · 2 comments
Open

Changing function name color for javascript #5

bubuzzz opened this issue Nov 15, 2016 · 2 comments

Comments

@bubuzzz
Copy link

bubuzzz commented Nov 15, 2016

Currently, the function name in Python look really nice with the color

screen shot 2016-11-15 at 11 07 15 pm

However, in Javascript, the color for function name does not work.

screen shot 2016-11-15 at 11 08 21 pm

Is there any chance to update the javascript color scheme ?

@tyrannicaltoucan
Copy link
Owner

Unfortunately, I don't think it's possible to highlight function names with the javascript syntax included with Vim. Its awfully barebones, and doesn't support many of the newer javascript features.

The best thing I can recommend is using a plugin which provides better javascript colors, and ES6 support, the popular ones being https://github.com/pangloss/vim-javascript, or https://github.com/othree/yajs.vim.

I've been wanting to provide better support for those plugins, so I will keep this open until I do so!

@bubuzzz
Copy link
Author

bubuzzz commented Nov 15, 2016

Thank for your reply. Last time I tried the Plugin 'jelera/vim-javascript-syntax'. It was not bad, but sometime the color does not appear correctly. I will try the other ones as well

EDIT: I just used vim-javascript and it is great. Thank you very much for the suggestion

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

No branches or pull requests

2 participants