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

Conflict with vim-polyglot #67

Open
ldong opened this issue Sep 20, 2015 · 3 comments
Open

Conflict with vim-polyglot #67

ldong opened this issue Sep 20, 2015 · 3 comments

Comments

@ldong
Copy link

ldong commented Sep 20, 2015

Plugin 'othree/yajs.vim' and Plugin 'sheerun/vim-polyglot' cannot work together

See issue from sheerun/vim-polyglot#68

Having installed both, and type vim a.html will result following screenshot

screen shot 2015-09-19 at 9 35 36 pm

@ldong
Copy link
Author

ldong commented Sep 20, 2015

Maybe a dependency check prior to apply yajs's own syntax?

@Delapouite
Copy link

The syntax files form polyglot appears to be extracted from here :
https://github.com/sheerun/vim-polyglot/blob/master/syntax/javascript.vim

@rosshadden
Copy link

vim-polyglot includes vim-javascript (or at least links to it in the readme). You have to disable javascript from polyglot:

let g:polyglot_disabled = [ 'markdown', 'javascript' ]

And by "have to", I mean "it doesn't make any sense whatsoever to have two different javascript syntax plugins". 😄

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