Preserve loading order of plugins, fixes #608

This commit is contained in:
Adam Stankiewicz
2020-10-25 20:33:44 +01:00
parent 81ada1101e
commit 45a7512dea
1287 changed files with 1963 additions and 1952 deletions

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ant', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ant')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'bdf')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'coffee-script')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'coffee-script')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'elixir')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('cryptol', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'cryptol')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('cs', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'cs')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('cucumber', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'cucumber')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('dot', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'dot')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'elixir')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('fish', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'fish')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'go')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'gradle')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'gradle')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('haml', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'haml')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ledger', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ledger')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('lilypond', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'lilypond')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('livescript', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'livescript')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'elixir')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('nim', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'nim')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('nix', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'nix')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ocaml')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'powershell')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('python-compiler', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'python-compiler')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'rust')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('sass', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'sass')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('scala', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'scala')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('swift', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'swift')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('tcl', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'tcl')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('tex', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'tex')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('tidy', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'tidy')
finish
endif

View File

@@ -1,4 +1,4 @@
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
if !has_key(g:polyglot_is_disabled, 'typescript')
finish
endif