Files
vim-vue/syntax_checkers/vue/eslint.vim
Vincent Petry 58d8de76b0 Explicitly load javascript/eslint.vim (#105)
In some environments it seems it doesn't load automatically.

Fixes #103
2018-04-04 16:17:24 +02:00

16 lines
358 B
VimL

" Vue cofiguration for Syntastic
if exists('g:loaded_syntastic_vue_eslint_checker')
finish
endif
let g:loaded_syntastic_vue_eslint_checker = 1
runtime! syntax_checkers/javascript/eslint.vim
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'vue',
\ 'name': 'eslint',
\ 'redirect': 'javascript/eslint'
\ })