You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since vim doesn't provide a way to unregister a single autocmd, I have to overwrite this with yet another autocmd in my vimrc, but losing the convenience polyglot provided.
Possible solution: at least wrap it in its own group (augroup ember.vim ... augroup end); this will let users disable the entire group. Or maybe just append an ember filetype at the end in the autocmd (set ft+=.ember).
I prefer the first solution.
The text was updated successfully, but these errors were encountered:
Polyglot is my plugin of choice for syntax highlighting. However, ember.vim overwrites its rules for Handlebars files:
which lands me with no html highlighting.
Since vim doesn't provide a way to unregister a single autocmd, I have to overwrite this with yet another autocmd in my vimrc, but losing the convenience polyglot provided.
Culprit: ftdetect/handlebars.vim.
Possible solution: at least wrap it in its own group (
augroup ember.vim ... augroup end
); this will let users disable the entire group. Or maybe just append an ember filetype at the end in the autocmd (set ft+=.ember
).I prefer the first solution.
The text was updated successfully, but these errors were encountered: