From 45a7512dea0599efaf96e8a2cad3fac7be61cf5d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 25 Oct 2020 20:33:44 +0100 Subject: Preserve loading order of plugins, fixes #608 --- after/indent/html.vim | 2 +- after/indent/javascript-1.vim | 2 +- after/indent/javascript-2.vim | 2 +- after/indent/javascriptreact.vim | 2 +- after/indent/jsx.vim | 2 +- after/indent/objc.vim | 2 +- after/indent/tsx.vim | 2 +- after/indent/typescript.vim | 2 +- after/indent/typescriptreact.vim | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'after/indent') 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(':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(':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(':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(':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(':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(':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(':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(':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(':p')) +if !has_key(g:polyglot_is_disabled, 'jsx') finish endif -- cgit v1.2.3