mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Preserve loading order of plugins, fixes #608
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ant', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ant')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'bdf')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'coffee-script')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'rust')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'coffee-script')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'elixir')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cryptol', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cryptol')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cs', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cs')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cucumber', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cucumber')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('dot', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'dot')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'elixir')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('fish', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'fish')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'go')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'gradle')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'gradle')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('haml', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'haml')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ledger', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ledger')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('lilypond', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'lilypond')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('livescript', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'livescript')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'elixir')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('nim', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'nim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('nix', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'nix')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ocaml')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'powershell')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('python-compiler', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'python-compiler')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'ruby')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('rust', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'rust')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('sass', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'sass')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('scala', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'scala')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('swift', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'swift')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('tcl', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'tcl')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('tex', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'tex')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('tidy', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'tidy')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'typescript')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user