diff options
Diffstat (limited to 'compiler/eslint.vim')
-rw-r--r-- | compiler/eslint.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/eslint.vim b/compiler/eslint.vim index 0aeb3a4c..1a10be93 100644 --- a/compiler/eslint.vim +++ b/compiler/eslint.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 " Vim compiler plugin " Language: JavaScript " Maintainer: vim-javascript community @@ -18,3 +15,4 @@ endif CompilerSet makeprg=eslint\ -f\ compact\ % CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m +endif |