-
Notifications
You must be signed in to change notification settings - Fork 141
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
Wrong syntax highlight of keyword const and function #46
Comments
What JS syntax files do you have in your rc file? Vim-javascript, yajs.vim, vim-jsx? |
This ones: Plug 'mxw/vim-jsx'
Plug 'othree/yajs.vim'
Plug 'othree/html5.vim'
Plug 'othree/es.next.syntax.vim'
Plug 'HerringtonDarkholme/yats.vim' |
I had a hard time trying to make it highlight the way it was shown in old screenshots in the README of this repo, which made me add all the freakin' js syntax plugins. Now it seems that the screenshots of the theme has been updated. btw, nice theme I really liked ( that's why I opened a issue instead of moving to another theme ) |
Hmm , interesting. It looks like a syntax plugin is causing issues with jsx tags. |
Great to hear, thanks! |
Well thanks a lot for looking into it even though it was not a problem of your theme, sorry about that 😳 |
Problems summary
Syntax highlight showing a big red box around words like const and function when setting a constant with arrow function outside the main function of the file.
Expected
To render the keywords normally
Environment Information
http://pastebin.com/K8VFktA7
Provide a minimal vim rc with less than 50 lines (Required!)
Screen shot (if possible)
The text was updated successfully, but these errors were encountered: