Changing function name color for javascript
bubuzzz opened this issue · comments
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!
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