Include syntax file only if it exists
Vim syntax highlighting for Vue components.
This was initially forked from darthmall/vim-vue. I already have an implementation for this but found his code much cleaner. That's why I created a new version instead of a PR.
Plugin 'posva/vim-vue'
If your language is not getting highlighted open an issue or a PR with the fix. You only need to add some lines to the syntax/vue.vim file.
syntax/vue.vim