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

Add comparison to pangloss/vim-javascript to Readme #172

Open
darcyparker opened this issue Dec 5, 2018 · 2 comments
Open

Add comparison to pangloss/vim-javascript to Readme #172

darcyparker opened this issue Dec 5, 2018 · 2 comments

Comments

@darcyparker
Copy link

darcyparker commented Dec 5, 2018

https://github.com/othree/yajs.vim#differences-from-jeleravim-javascript-syntax compares yajs.vim to jelera/vim-javascript-syntax. I use pangloss/vim-javascript and in my observations, it is more popular than jelera/vim-javascript-syntax. (Compare stars).

I just learned about yajs and would like to see it compared to pangloss/vim-javascript.

@vyorkin
Copy link

vyorkin commented Aug 8, 2020

It would be great if someone could add a few comments based on their own experience.

@jacks0n
Copy link

jacks0n commented Sep 29, 2020

I was wondering the same thing myself, and did a quick comparison with ES6 and JSX files. Functionality and performance wise, I couldn't tell any difference. The colours were very different (same theme), it appears the plugins use different highlight groups:

Some examples:

JS Item pangloss/vim-javascript othree/yajs.vim
object key jsObjectKey javascriptObjectLabel
object curly bracket jsObjectBraces javascriptBraces
window jsGlobalObjects javascriptBOMWindowProp
Doc param name jsDocParam javascriptDocParamName
'const' keyword jsStorageClass javascriptVariable
window.oopen jsFuncCall javascriptDOMDocMethod

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