mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
Preserve loading order of plugins, fixes #608
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cpp-modern', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cpp-modern')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cjsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cjsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('cpp-modern', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'cpp-modern')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('dhall', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'dhall')
|
||||
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('html5', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'html5')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'html5')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'html5')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'html5')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('idris', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'idris')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('idris2', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'idris2')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'html5')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('javascript-sql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'javascript-sql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('llvm', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'llvm')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('mdx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'mdx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('mathematica', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'mathematica')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('objc', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'objc')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('reason', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'reason')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('rspec', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'rspec')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('yard', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'yard')
|
||||
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('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'jsx')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'graphql')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if !polyglot#util#IsEnabled('zinit', expand('<sfile>:p'))
|
||||
if !has_key(g:polyglot_is_disabled, 'zinit')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user