Open ldong opened 9 years ago
Maybe a dependency check prior to apply yajs
's own syntax?
The syntax files form polyglot appears to be extracted from here : https://github.com/sheerun/vim-polyglot/blob/master/syntax/javascript.vim
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". :smile:
Plugin 'othree/yajs.vim'
andPlugin 'sheerun/vim-polyglot'
cannot work togetherSee issue from https://github.com/sheerun/vim-polyglot/issues/68
Having installed both, and type
vim a.html
will result following screenshot