summaryrefslogtreecommitdiffstats
path: root/after/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 21:08:27 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 21:08:27 +0100
commit28388008327aacfc48db3c31f415564d93cd983f (patch)
treee493e1b9e6c700a6378311074b3dfab0eb3edb09 /after/indent
parentba3fe9e1ae6b2198a152cfa6a357cadc8c04dd14 (diff)
downloadvim-polyglot-28388008327aacfc48db3c31f415564d93cd983f.tar.gz
vim-polyglot-28388008327aacfc48db3c31f415564d93cd983f.zip
Fix conditions, #608
Diffstat (limited to 'after/indent')
-rw-r--r--after/indent/html.vim2
-rw-r--r--after/indent/javascript-1.vim2
-rw-r--r--after/indent/javascript-2.vim2
-rw-r--r--after/indent/javascriptreact.vim2
-rw-r--r--after/indent/jsx.vim2
-rw-r--r--after/indent/objc.vim2
-rw-r--r--after/indent/tsx.vim2
-rw-r--r--after/indent/typescript.vim2
-rw-r--r--after/indent/typescriptreact.vim2
9 files changed, 9 insertions, 9 deletions
diff --git a/after/indent/html.vim b/after/indent/html.vim
index f33b27a1..ea76ee09 100644
--- a/after/indent/html.vim
+++ b/after/indent/html.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'html5')
+if has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/after/indent/javascript-1.vim b/after/indent/javascript-1.vim
index 5a311439..67a63055 100644
--- a/after/indent/javascript-1.vim
+++ b/after/indent/javascript-1.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'jsx')
+if has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/javascript-2.vim b/after/indent/javascript-2.vim
index 3177c0cb..afedd9f4 100644
--- a/after/indent/javascript-2.vim
+++ b/after/indent/javascript-2.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'graphql')
+if has_key(g:polyglot_is_disabled, 'graphql')
finish
endif
diff --git a/after/indent/javascriptreact.vim b/after/indent/javascriptreact.vim
index a757cdd7..ceacc887 100644
--- a/after/indent/javascriptreact.vim
+++ b/after/indent/javascriptreact.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'jsx')
+if has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/jsx.vim b/after/indent/jsx.vim
index 1ba02c46..afee5bf0 100644
--- a/after/indent/jsx.vim
+++ b/after/indent/jsx.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'jsx')
+if has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/objc.vim b/after/indent/objc.vim
index 13d4d32d..e9cc20e8 100644
--- a/after/indent/objc.vim
+++ b/after/indent/objc.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'objc')
+if has_key(g:polyglot_is_disabled, 'objc')
finish
endif
diff --git a/after/indent/tsx.vim b/after/indent/tsx.vim
index f29ccbaf..18254bfc 100644
--- a/after/indent/tsx.vim
+++ b/after/indent/tsx.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'jsx')
+if has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/typescript.vim b/after/indent/typescript.vim
index 1294bc59..edf83bc8 100644
--- a/after/indent/typescript.vim
+++ b/after/indent/typescript.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'graphql')
+if has_key(g:polyglot_is_disabled, 'graphql')
finish
endif
diff --git a/after/indent/typescriptreact.vim b/after/indent/typescriptreact.vim
index 75f2e3bb..3c3b2666 100644
--- a/after/indent/typescriptreact.vim
+++ b/after/indent/typescriptreact.vim
@@ -1,4 +1,4 @@
-if !has_key(g:polyglot_is_disabled, 'jsx')
+if has_key(g:polyglot_is_disabled, 'jsx')
finish
endif