diff options
Diffstat (limited to 'after/ftplugin/jsx.vim')
-rw-r--r-- | after/ftplugin/jsx.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/after/ftplugin/jsx.vim b/after/ftplugin/jsx.vim index 380d476b..12173822 100644 --- a/after/ftplugin/jsx.vim +++ b/after/ftplugin/jsx.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsx') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jsx') != -1 + finish +endif + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim ftplugin file " @@ -19,5 +21,3 @@ if exists("loaded_matchit") endif setlocal suffixesadd+=.jsx - -endif |