diff options
Diffstat (limited to 'after')
-rw-r--r-- | after/ftplugin/javascript.vim | 2 | ||||
-rw-r--r-- | after/ftplugin/javascriptreact.vim | 2 | ||||
-rw-r--r-- | after/ftplugin/tsx.vim | 2 | ||||
-rw-r--r-- | after/ftplugin/typescriptreact.vim | 2 | ||||
-rw-r--r-- | after/indent/javascript.vim | 2 | ||||
-rw-r--r-- | after/indent/javascriptreact.vim | 2 | ||||
-rw-r--r-- | after/indent/tsx.vim | 2 | ||||
-rw-r--r-- | after/indent/typescriptreact.vim | 2 | ||||
-rw-r--r-- | after/syntax/javascript.vim | 2 | ||||
-rw-r--r-- | after/syntax/javascriptreact.vim | 2 | ||||
-rw-r--r-- | after/syntax/jsx_pretty.vim | 2 | ||||
-rw-r--r-- | after/syntax/tsx.vim | 2 | ||||
-rw-r--r-- | after/syntax/typescriptreact.vim | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim index 663e2d8a..a590e11d 100644 --- a/after/ftplugin/javascript.vim +++ b/after/ftplugin/javascript.vim @@ -14,7 +14,7 @@ else endif endif -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim ftplugin file diff --git a/after/ftplugin/javascriptreact.vim b/after/ftplugin/javascriptreact.vim index e423f0ed..ab847072 100644 --- a/after/ftplugin/javascriptreact.vim +++ b/after/ftplugin/javascriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/javascript.vim diff --git a/after/ftplugin/tsx.vim b/after/ftplugin/tsx.vim index 7cca61cf..96b5515a 100644 --- a/after/ftplugin/tsx.vim +++ b/after/ftplugin/tsx.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) " modified from html.vim " For matchit plugin diff --git a/after/ftplugin/typescriptreact.vim b/after/ftplugin/typescriptreact.vim index 223f77c5..3d850291 100644 --- a/after/ftplugin/typescriptreact.vim +++ b/after/ftplugin/typescriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/tsx.vim diff --git a/after/indent/javascript.vim b/after/indent/javascript.vim index 370e12d4..dd280edb 100644 --- a/after/indent/javascript.vim +++ b/after/indent/javascript.vim @@ -45,7 +45,7 @@ function GetJavascriptGraphQLIndent() endfunction endif -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim indent file diff --git a/after/indent/javascriptreact.vim b/after/indent/javascriptreact.vim index e423f0ed..ab847072 100644 --- a/after/indent/javascriptreact.vim +++ b/after/indent/javascriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/javascript.vim diff --git a/after/indent/tsx.vim b/after/indent/tsx.vim index 084cac57..13312c03 100644 --- a/after/indent/tsx.vim +++ b/after/indent/tsx.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim indent file diff --git a/after/indent/typescriptreact.vim b/after/indent/typescriptreact.vim index 223f77c5..3d850291 100644 --- a/after/indent/typescriptreact.vim +++ b/after/indent/typescriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/tsx.vim diff --git a/after/syntax/javascript.vim b/after/syntax/javascript.vim index 1ebcf38c..00c4b079 100644 --- a/after/syntax/javascript.vim +++ b/after/syntax/javascript.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim syntax file diff --git a/after/syntax/javascriptreact.vim b/after/syntax/javascriptreact.vim index e423f0ed..ab847072 100644 --- a/after/syntax/javascriptreact.vim +++ b/after/syntax/javascriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/javascript.vim diff --git a/after/syntax/jsx_pretty.vim b/after/syntax/jsx_pretty.vim index d0c2644d..9f14e4d4 100644 --- a/after/syntax/jsx_pretty.vim +++ b/after/syntax/jsx_pretty.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) let s:highlight_close_tag = get(g:, 'vim_jsx_pretty_highlight_close_tag', 0) diff --git a/after/syntax/tsx.vim b/after/syntax/tsx.vim index 36854168..34a6005e 100644 --- a/after/syntax/tsx.vim +++ b/after/syntax/tsx.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Vim syntax file diff --git a/after/syntax/typescriptreact.vim b/after/syntax/typescriptreact.vim index 223f77c5..3d850291 100644 --- a/after/syntax/typescriptreact.vim +++ b/after/syntax/typescriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/tsx.vim |