summaryrefslogtreecommitdiffstats
path: root/after/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
commit45a7512dea0599efaf96e8a2cad3fac7be61cf5d (patch)
treebe0f50b1fe89625021111ad0d34555ef141d4146 /after/indent
parent81ada1101ecbb0bc6dbaeef42e997e62129b36cc (diff)
downloadvim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.tar.gz
vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.zip
Preserve loading order of plugins, fixes #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 065106ca..f33b27a1 100644
--- a/after/indent/html.vim
+++ b/after/indent/html.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+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 f56dd82a..5a311439 100644
--- a/after/indent/javascript-1.vim
+++ b/after/indent/javascript-1.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+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 24d29703..3177c0cb 100644
--- a/after/indent/javascript-2.vim
+++ b/after/indent/javascript-2.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'graphql')
finish
endif
diff --git a/after/indent/javascriptreact.vim b/after/indent/javascriptreact.vim
index be2ea1fc..a757cdd7 100644
--- a/after/indent/javascriptreact.vim
+++ b/after/indent/javascriptreact.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/jsx.vim b/after/indent/jsx.vim
index 394f20b7..1ba02c46 100644
--- a/after/indent/jsx.vim
+++ b/after/indent/jsx.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/objc.vim b/after/indent/objc.vim
index ee644861..13d4d32d 100644
--- a/after/indent/objc.vim
+++ b/after/indent/objc.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('objc', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'objc')
finish
endif
diff --git a/after/indent/tsx.vim b/after/indent/tsx.vim
index 544568a7..f29ccbaf 100644
--- a/after/indent/tsx.vim
+++ b/after/indent/tsx.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'jsx')
finish
endif
diff --git a/after/indent/typescript.vim b/after/indent/typescript.vim
index 8f0172c1..1294bc59 100644
--- a/after/indent/typescript.vim
+++ b/after/indent/typescript.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'graphql')
finish
endif
diff --git a/after/indent/typescriptreact.vim b/after/indent/typescriptreact.vim
index 07de9bb7..75f2e3bb 100644
--- a/after/indent/typescriptreact.vim
+++ b/after/indent/typescriptreact.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'jsx')
finish
endif