diff options
Diffstat (limited to 'ftplugin')
260 files changed, 260 insertions, 260 deletions
diff --git a/ftplugin/8th.vim b/ftplugin/8th.vim index 5199a7bf..e5f2f056 100644 --- a/ftplugin/8th.vim +++ b/ftplugin/8th.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('8th', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, '8th') finish endif diff --git a/ftplugin/a2ps.vim b/ftplugin/a2ps.vim index dfcefea7..a247bfb1 100644 --- a/ftplugin/a2ps.vim +++ b/ftplugin/a2ps.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('a2ps', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'a2ps') finish endif diff --git a/ftplugin/aap.vim b/ftplugin/aap.vim index 00588ae9..3e67cc0a 100644 --- a/ftplugin/aap.vim +++ b/ftplugin/aap.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('aap', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'aap') finish endif diff --git a/ftplugin/abap.vim b/ftplugin/abap.vim index eced7b2b..d8041293 100644 --- a/ftplugin/abap.vim +++ b/ftplugin/abap.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('abap', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'abap') finish endif diff --git a/ftplugin/abaqus.vim b/ftplugin/abaqus.vim index fb3bd11e..b800d186 100644 --- a/ftplugin/abaqus.vim +++ b/ftplugin/abaqus.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('abaqus', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'abaqus') finish endif diff --git a/ftplugin/ada.vim b/ftplugin/ada.vim index 62d252fd..2025e9b6 100644 --- a/ftplugin/ada.vim +++ b/ftplugin/ada.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ada', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ada') finish endif diff --git a/ftplugin/alsaconf.vim b/ftplugin/alsaconf.vim index 093c2ab1..2bdbe06c 100644 --- a/ftplugin/alsaconf.vim +++ b/ftplugin/alsaconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('alsaconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'alsaconf') finish endif diff --git a/ftplugin/ansible.vim b/ftplugin/ansible.vim index e6676ccf..44def562 100644 --- a/ftplugin/ansible.vim +++ b/ftplugin/ansible.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ansible') finish endif diff --git a/ftplugin/ansible_hosts.vim b/ftplugin/ansible_hosts.vim index d6854c20..b4f3b665 100644 --- a/ftplugin/ansible_hosts.vim +++ b/ftplugin/ansible_hosts.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ansible') finish endif diff --git a/ftplugin/ant.vim b/ftplugin/ant.vim index 799e03ec..e4414e00 100644 --- a/ftplugin/ant.vim +++ b/ftplugin/ant.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ant', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ant') finish endif diff --git a/ftplugin/arch.vim b/ftplugin/arch.vim index 755963a5..288140d6 100644 --- a/ftplugin/arch.vim +++ b/ftplugin/arch.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('arch', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'arch') finish endif diff --git a/ftplugin/art.vim b/ftplugin/art.vim index 7b1c4398..7dd4a1cf 100644 --- a/ftplugin/art.vim +++ b/ftplugin/art.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('art', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'art') finish endif diff --git a/ftplugin/aspvbs.vim b/ftplugin/aspvbs.vim index 03f38e29..86c3d315 100644 --- a/ftplugin/aspvbs.vim +++ b/ftplugin/aspvbs.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('aspvbs', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'aspvbs') finish endif diff --git a/ftplugin/automake.vim b/ftplugin/automake.vim index f3e31757..d7ab44e9 100644 --- a/ftplugin/automake.vim +++ b/ftplugin/automake.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('automake', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'automake') finish endif diff --git a/ftplugin/awk.vim b/ftplugin/awk.vim index 9ff6adf6..13d7acb6 100644 --- a/ftplugin/awk.vim +++ b/ftplugin/awk.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('awk', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'awk') finish endif diff --git a/ftplugin/bdf.vim b/ftplugin/bdf.vim index aaf1def0..7485eb7d 100644 --- a/ftplugin/bdf.vim +++ b/ftplugin/bdf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'bdf') finish endif diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim index ee75475e..1f88c839 100644 --- a/ftplugin/blade.vim +++ b/ftplugin/blade.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('blade', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'blade') finish endif diff --git a/ftplugin/bst.vim b/ftplugin/bst.vim index 26555cc7..1c150d93 100644 --- a/ftplugin/bst.vim +++ b/ftplugin/bst.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('bst', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'bst') finish endif diff --git a/ftplugin/bzl.vim b/ftplugin/bzl.vim index 71b7ceaa..3d1d22ef 100644 --- a/ftplugin/bzl.vim +++ b/ftplugin/bzl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('bzl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'bzl') finish endif diff --git a/ftplugin/caddyfile.vim b/ftplugin/caddyfile.vim index 206ed69e..363fbc56 100644 --- a/ftplugin/caddyfile.vim +++ b/ftplugin/caddyfile.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('caddyfile', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'caddyfile') finish endif diff --git a/ftplugin/calendar.vim b/ftplugin/calendar.vim index 73262759..8952a9b7 100644 --- a/ftplugin/calendar.vim +++ b/ftplugin/calendar.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('calendar', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'calendar') finish endif diff --git a/ftplugin/cdrdaoconf.vim b/ftplugin/cdrdaoconf.vim index 1f6fccdf..ea14cfc4 100644 --- a/ftplugin/cdrdaoconf.vim +++ b/ftplugin/cdrdaoconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cdrdaoconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cdrdaoconf') finish endif diff --git a/ftplugin/cfg.vim b/ftplugin/cfg.vim index 2291a269..db637481 100644 --- a/ftplugin/cfg.vim +++ b/ftplugin/cfg.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cfg', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cfg') finish endif diff --git a/ftplugin/ch.vim b/ftplugin/ch.vim index 95865364..8249bbc9 100644 --- a/ftplugin/ch.vim +++ b/ftplugin/ch.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ch', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ch') finish endif diff --git a/ftplugin/clojure.vim b/ftplugin/clojure.vim index 641aaac1..170fc30e 100644 --- a/ftplugin/clojure.vim +++ b/ftplugin/clojure.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('clojure', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'clojure') finish endif diff --git a/ftplugin/cobol.vim b/ftplugin/cobol.vim index 89bb817a..40b0a8e9 100644 --- a/ftplugin/cobol.vim +++ b/ftplugin/cobol.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cobol', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cobol') finish endif diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim index 9a493b96..f973deb5 100644 --- a/ftplugin/coffee.vim +++ b/ftplugin/coffee.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'coffee-script') finish endif diff --git a/ftplugin/conf.vim b/ftplugin/conf.vim index 8ba8a0bd..51fb01fc 100644 --- a/ftplugin/conf.vim +++ b/ftplugin/conf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('conf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'conf') finish endif diff --git a/ftplugin/config.vim b/ftplugin/config.vim index dd85e65d..e2fd9605 100644 --- a/ftplugin/config.vim +++ b/ftplugin/config.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('config', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'config') finish endif diff --git a/ftplugin/crm.vim b/ftplugin/crm.vim index 46388ca1..85465223 100644 --- a/ftplugin/crm.vim +++ b/ftplugin/crm.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('crm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'crm') finish endif diff --git a/ftplugin/cryptol/folding.vim b/ftplugin/cryptol/folding.vim index 717ecadb..865a1e59 100644 --- a/ftplugin/cryptol/folding.vim +++ b/ftplugin/cryptol/folding.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cryptol', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cryptol') finish endif diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim index 7f391434..76bbb6ad 100644 --- a/ftplugin/crystal.vim +++ b/ftplugin/crystal.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('crystal', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'crystal') finish endif diff --git a/ftplugin/cs.vim b/ftplugin/cs.vim index cfefde11..7dc16fe3 100644 --- a/ftplugin/cs.vim +++ b/ftplugin/cs.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cs', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cs') finish endif diff --git a/ftplugin/csc.vim b/ftplugin/csc.vim index a596b93d..40b65687 100644 --- a/ftplugin/csc.vim +++ b/ftplugin/csc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('csc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'csc') finish endif diff --git a/ftplugin/css.vim b/ftplugin/css.vim index 6c8a3562..b9446bfd 100644 --- a/ftplugin/css.vim +++ b/ftplugin/css.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('css', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'css') finish endif diff --git a/ftplugin/csv.vim b/ftplugin/csv.vim index f479a6ff..40d3577b 100644 --- a/ftplugin/csv.vim +++ b/ftplugin/csv.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('csv', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'csv') finish endif diff --git a/ftplugin/cucumber.vim b/ftplugin/cucumber.vim index ab1e52fa..c53cb631 100644 --- a/ftplugin/cucumber.vim +++ b/ftplugin/cucumber.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cucumber', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cucumber') finish endif diff --git a/ftplugin/cvsrc.vim b/ftplugin/cvsrc.vim index a8049142..6e888f10 100644 --- a/ftplugin/cvsrc.vim +++ b/ftplugin/cvsrc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cvsrc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cvsrc') finish endif diff --git a/ftplugin/dart.vim b/ftplugin/dart.vim index b402543d..5050378f 100644 --- a/ftplugin/dart.vim +++ b/ftplugin/dart.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dart', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dart') finish endif diff --git a/ftplugin/debchangelog.vim b/ftplugin/debchangelog.vim index 13904dc9..746de50b 100644 --- a/ftplugin/debchangelog.vim +++ b/ftplugin/debchangelog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('debchangelog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'debchangelog') finish endif diff --git a/ftplugin/debcontrol.vim b/ftplugin/debcontrol.vim index e6109e73..c4307414 100644 --- a/ftplugin/debcontrol.vim +++ b/ftplugin/debcontrol.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('debcontrol', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'debcontrol') finish endif diff --git a/ftplugin/denyhosts.vim b/ftplugin/denyhosts.vim index 41a54a12..bda92b12 100644 --- a/ftplugin/denyhosts.vim +++ b/ftplugin/denyhosts.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('denyhosts', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'denyhosts') finish endif diff --git a/ftplugin/dhall.vim b/ftplugin/dhall.vim index d0a702ea..1b90832c 100644 --- a/ftplugin/dhall.vim +++ b/ftplugin/dhall.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dhall', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dhall') finish endif diff --git a/ftplugin/dictconf.vim b/ftplugin/dictconf.vim index 048a4918..d56fa358 100644 --- a/ftplugin/dictconf.vim +++ b/ftplugin/dictconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dictconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dictconf') finish endif diff --git a/ftplugin/dictdconf.vim b/ftplugin/dictdconf.vim index 6b3c1174..b05d7520 100644 --- a/ftplugin/dictdconf.vim +++ b/ftplugin/dictdconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dictdconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dictdconf') finish endif diff --git a/ftplugin/diff.vim b/ftplugin/diff.vim index 7a04c881..4343638c 100644 --- a/ftplugin/diff.vim +++ b/ftplugin/diff.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('diff', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'diff') finish endif diff --git a/ftplugin/dircolors.vim b/ftplugin/dircolors.vim index 1ae60648..92df4c03 100644 --- a/ftplugin/dircolors.vim +++ b/ftplugin/dircolors.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dircolors', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dircolors') finish endif diff --git a/ftplugin/docker-compose.vim b/ftplugin/docker-compose.vim index 89cc8647..32c91d53 100644 --- a/ftplugin/docker-compose.vim +++ b/ftplugin/docker-compose.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('docker-compose', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'docker-compose') finish endif diff --git a/ftplugin/dockerfile.vim b/ftplugin/dockerfile.vim index 62d99f39..79388fb0 100644 --- a/ftplugin/dockerfile.vim +++ b/ftplugin/dockerfile.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dockerfile', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dockerfile') finish endif diff --git a/ftplugin/dosbatch.vim b/ftplugin/dosbatch.vim index 902ed8f7..434f5772 100644 --- a/ftplugin/dosbatch.vim +++ b/ftplugin/dosbatch.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dosbatch', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dosbatch') finish endif diff --git a/ftplugin/dosini.vim b/ftplugin/dosini.vim index 394b98bd..1f9c8289 100644 --- a/ftplugin/dosini.vim +++ b/ftplugin/dosini.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dosini', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dosini') finish endif diff --git a/ftplugin/dtd.vim b/ftplugin/dtd.vim index d428a845..d8f2aa22 100644 --- a/ftplugin/dtd.vim +++ b/ftplugin/dtd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dtd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dtd') finish endif diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim index 4454e1d2..9bd424c8 100644 --- a/ftplugin/dune.vim +++ b/ftplugin/dune.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/ecrystal.vim b/ftplugin/ecrystal.vim index 5057546d..81d0fad7 100644 --- a/ftplugin/ecrystal.vim +++ b/ftplugin/ecrystal.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('crystal', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'crystal') finish endif diff --git a/ftplugin/eelixir.vim b/ftplugin/eelixir.vim index 914a5d70..1b337f58 100644 --- a/ftplugin/eelixir.vim +++ b/ftplugin/eelixir.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elixir') finish endif diff --git a/ftplugin/elinks.vim b/ftplugin/elinks.vim index ca68f847..3288cc53 100644 --- a/ftplugin/elinks.vim +++ b/ftplugin/elinks.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elinks', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elinks') finish endif diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index d16a45d8..04fd66a1 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elixir') finish endif diff --git a/ftplugin/embeddedpuppet.vim b/ftplugin/embeddedpuppet.vim index 344e93ae..e7da63d2 100644 --- a/ftplugin/embeddedpuppet.vim +++ b/ftplugin/embeddedpuppet.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('puppet', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'puppet') finish endif diff --git a/ftplugin/ember-script.vim b/ftplugin/ember-script.vim index 792e3886..3180ea72 100644 --- a/ftplugin/ember-script.vim +++ b/ftplugin/ember-script.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('emberscript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'emberscript') finish endif diff --git a/ftplugin/emblem.vim b/ftplugin/emblem.vim index 3351f533..9e102c0b 100644 --- a/ftplugin/emblem.vim +++ b/ftplugin/emblem.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('emblem', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'emblem') finish endif diff --git a/ftplugin/eruby.vim b/ftplugin/eruby.vim index f6a8e659..af741579 100644 --- a/ftplugin/eruby.vim +++ b/ftplugin/eruby.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/ftplugin/eterm.vim b/ftplugin/eterm.vim index fc163ccf..d121fdf3 100644 --- a/ftplugin/eterm.vim +++ b/ftplugin/eterm.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('eterm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'eterm') finish endif diff --git a/ftplugin/falcon.vim b/ftplugin/falcon.vim index 5eeab00f..727fcfcb 100644 --- a/ftplugin/falcon.vim +++ b/ftplugin/falcon.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('falcon', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'falcon') finish endif diff --git a/ftplugin/fennel.vim b/ftplugin/fennel.vim index 926bc879..1cbb2d33 100644 --- a/ftplugin/fennel.vim +++ b/ftplugin/fennel.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fennel', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fennel') finish endif diff --git a/ftplugin/fetchmail.vim b/ftplugin/fetchmail.vim index eaaf3e25..8b86ea1a 100644 --- a/ftplugin/fetchmail.vim +++ b/ftplugin/fetchmail.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fetchmail', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fetchmail') finish endif diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim index 8ead1ce3..88f6a275 100644 --- a/ftplugin/fish.vim +++ b/ftplugin/fish.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fish', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fish') finish endif diff --git a/ftplugin/fortran.vim b/ftplugin/fortran.vim index b951347c..a4ae9ade 100644 --- a/ftplugin/fortran.vim +++ b/ftplugin/fortran.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fortran', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fortran') finish endif diff --git a/ftplugin/framescript.vim b/ftplugin/framescript.vim index 514f3c94..f3ae6481 100644 --- a/ftplugin/framescript.vim +++ b/ftplugin/framescript.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('framescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'framescript') finish endif diff --git a/ftplugin/fvwm.vim b/ftplugin/fvwm.vim index 0f6de2db..ed3fb40d 100644 --- a/ftplugin/fvwm.vim +++ b/ftplugin/fvwm.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fvwm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fvwm') finish endif diff --git a/ftplugin/gdb.vim b/ftplugin/gdb.vim index 03fe2565..655fb601 100644 --- a/ftplugin/gdb.vim +++ b/ftplugin/gdb.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('gdb', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'gdb') finish endif diff --git a/ftplugin/git.vim b/ftplugin/git.vim index 13ae96b6..2b907e52 100644 --- a/ftplugin/git.vim +++ b/ftplugin/git.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('git', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'git') finish endif diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim index 47f82b17..026f898e 100644 --- a/ftplugin/gitcommit.vim +++ b/ftplugin/gitcommit.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('git', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'git') finish endif diff --git a/ftplugin/gitconfig.vim b/ftplugin/gitconfig.vim index 44f66a29..2d98aaf7 100644 --- a/ftplugin/gitconfig.vim +++ b/ftplugin/gitconfig.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('git', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'git') finish endif diff --git a/ftplugin/gitignore.vim b/ftplugin/gitignore.vim index 48495472..bfb85702 100644 --- a/ftplugin/gitignore.vim +++ b/ftplugin/gitignore.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('gitignore', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'gitignore') finish endif diff --git a/ftplugin/gitrebase.vim b/ftplugin/gitrebase.vim index c07554e0..524663c7 100644 --- a/ftplugin/gitrebase.vim +++ b/ftplugin/gitrebase.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('git', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'git') finish endif diff --git a/ftplugin/gitsendemail.vim b/ftplugin/gitsendemail.vim index a8e26995..44be6a7d 100644 --- a/ftplugin/gitsendemail.vim +++ b/ftplugin/gitsendemail.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('git', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'git') finish endif diff --git a/ftplugin/gpg.vim b/ftplugin/gpg.vim index 9089768c..f6e93491 100644 --- a/ftplugin/gpg.vim +++ b/ftplugin/gpg.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('gpg', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'gpg') finish endif diff --git a/ftplugin/graphql.vim b/ftplugin/graphql.vim index 56b29f89..177df479 100644 --- a/ftplugin/graphql.vim +++ b/ftplugin/graphql.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/ftplugin/groovy.vim b/ftplugin/groovy.vim index cf78a14e..d87b3d56 100644 --- a/ftplugin/groovy.vim +++ b/ftplugin/groovy.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('groovy', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'groovy') finish endif diff --git a/ftplugin/group.vim b/ftplugin/group.vim index 357f43cf..2a275831 100644 --- a/ftplugin/group.vim +++ b/ftplugin/group.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('group', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'group') finish endif diff --git a/ftplugin/grub.vim b/ftplugin/grub.vim index d707032b..b354f033 100644 --- a/ftplugin/grub.vim +++ b/ftplugin/grub.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('grub', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'grub') finish endif diff --git a/ftplugin/haml.vim b/ftplugin/haml.vim index 95b57af6..e5f02049 100644 --- a/ftplugin/haml.vim +++ b/ftplugin/haml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('haml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'haml') finish endif diff --git a/ftplugin/hamster.vim b/ftplugin/hamster.vim index 78077433..bb8c36e7 100644 --- a/ftplugin/hamster.vim +++ b/ftplugin/hamster.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hamster', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hamster') finish endif diff --git a/ftplugin/handlebars.vim b/ftplugin/handlebars.vim index 0ebcc9b7..bbe46ea4 100644 --- a/ftplugin/handlebars.vim +++ b/ftplugin/handlebars.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('handlebars', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'handlebars') finish endif diff --git a/ftplugin/hcl.vim b/ftplugin/hcl.vim index 8c55f9a5..8d059044 100644 --- a/ftplugin/hcl.vim +++ b/ftplugin/hcl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hcl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hcl') finish endif diff --git a/ftplugin/help.vim b/ftplugin/help.vim index dcb63826..18d1498e 100644 --- a/ftplugin/help.vim +++ b/ftplugin/help.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('help', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'help') finish endif diff --git a/ftplugin/hgcommit.vim b/ftplugin/hgcommit.vim index d101a625..a297f006 100644 --- a/ftplugin/hgcommit.vim +++ b/ftplugin/hgcommit.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hgcommit', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hgcommit') finish endif diff --git a/ftplugin/hive.vim b/ftplugin/hive.vim index e1fe2dff..0e9cfd8e 100644 --- a/ftplugin/hive.vim +++ b/ftplugin/hive.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hive', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hive') finish endif diff --git a/ftplugin/hog.vim b/ftplugin/hog.vim index 4b198d70..62c42f7e 100644 --- a/ftplugin/hog.vim +++ b/ftplugin/hog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hog') finish endif diff --git a/ftplugin/hostconf.vim b/ftplugin/hostconf.vim index bb680b8e..12694017 100644 --- a/ftplugin/hostconf.vim +++ b/ftplugin/hostconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hostconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hostconf') finish endif diff --git a/ftplugin/hostsaccess.vim b/ftplugin/hostsaccess.vim index 1617577b..9c12ca31 100644 --- a/ftplugin/hostsaccess.vim +++ b/ftplugin/hostsaccess.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('hostsaccess', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'hostsaccess') finish endif diff --git a/ftplugin/html.vim b/ftplugin/html.vim index b48d0cd7..41416079 100644 --- a/ftplugin/html.vim +++ b/ftplugin/html.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('html', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'html') finish endif diff --git a/ftplugin/htmldjango.vim b/ftplugin/htmldjango.vim index 6da812a4..deaa50c4 100644 --- a/ftplugin/htmldjango.vim +++ b/ftplugin/htmldjango.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('htmldjango', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'htmldjango') finish endif diff --git a/ftplugin/i3config.vim b/ftplugin/i3config.vim index dc4182fb..dfdbbeb3 100644 --- a/ftplugin/i3config.vim +++ b/ftplugin/i3config.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('i3', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'i3') finish endif diff --git a/ftplugin/idris.vim b/ftplugin/idris.vim index f3201a08..994ac63e 100644 --- a/ftplugin/idris.vim +++ b/ftplugin/idris.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('idris', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'idris') finish endif diff --git a/ftplugin/idris2.vim b/ftplugin/idris2.vim index 97337057..5596bbbd 100644 --- a/ftplugin/idris2.vim +++ b/ftplugin/idris2.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('idris2', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'idris2') finish endif diff --git a/ftplugin/indent.vim b/ftplugin/indent.vim index d3ee4f74..96cc9a10 100644 --- a/ftplugin/indent.vim +++ b/ftplugin/indent.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('indent', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'indent') finish endif diff --git a/ftplugin/ion.vim b/ftplugin/ion.vim index 8835e291..7401d0b5 100644 --- a/ftplugin/ion.vim +++ b/ftplugin/ion.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ion', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ion') finish endif diff --git a/ftplugin/j.vim b/ftplugin/j.vim index 4b4669ff..62b60ed3 100644 --- a/ftplugin/j.vim +++ b/ftplugin/j.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('j', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'j') finish endif diff --git a/ftplugin/java.vim b/ftplugin/java.vim index 5a7dc9e0..ec8d4f5b 100644 --- a/ftplugin/java.vim +++ b/ftplugin/java.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('java', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'java') finish endif diff --git a/ftplugin/jproperties.vim b/ftplugin/jproperties.vim index b67a00c3..a0a2152d 100644 --- a/ftplugin/jproperties.vim +++ b/ftplugin/jproperties.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jproperties', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'jproperties') finish endif diff --git a/ftplugin/jq.vim b/ftplugin/jq.vim index ae05d442..cfabd2cb 100644 --- a/ftplugin/jq.vim +++ b/ftplugin/jq.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jq', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'jq') finish endif diff --git a/ftplugin/json.vim b/ftplugin/json.vim index f55b4b0a..22eaa506 100644 --- a/ftplugin/json.vim +++ b/ftplugin/json.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('json', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'json') finish endif diff --git a/ftplugin/jsonnet.vim b/ftplugin/jsonnet.vim index 00dcfb7c..aff7d880 100644 --- a/ftplugin/jsonnet.vim +++ b/ftplugin/jsonnet.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jsonnet', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'jsonnet') finish endif diff --git a/ftplugin/jsp.vim b/ftplugin/jsp.vim index 68e9e03b..9de79fd2 100644 --- a/ftplugin/jsp.vim +++ b/ftplugin/jsp.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jsp', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'jsp') finish endif diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index cc353099..2416e388 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('julia', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'julia') finish endif diff --git a/ftplugin/juliadoc.vim b/ftplugin/juliadoc.vim index d961f697..b5fd1f1e 100644 --- a/ftplugin/juliadoc.vim +++ b/ftplugin/juliadoc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('julia', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'julia') finish endif diff --git a/ftplugin/kconfig.vim b/ftplugin/kconfig.vim index a02b473a..c0ed7509 100644 --- a/ftplugin/kconfig.vim +++ b/ftplugin/kconfig.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('kconfig', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'kconfig') finish endif diff --git a/ftplugin/kotlin.vim b/ftplugin/kotlin.vim index 5e04d995..a9aee55b 100644 --- a/ftplugin/kotlin.vim +++ b/ftplugin/kotlin.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('kotlin', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'kotlin') finish endif diff --git a/ftplugin/kwt.vim b/ftplugin/kwt.vim index 2a546459..89c914ee 100644 --- a/ftplugin/kwt.vim +++ b/ftplugin/kwt.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('kwt', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'kwt') finish endif diff --git a/ftplugin/ld.vim b/ftplugin/ld.vim index a748663c..5de5b71a 100644 --- a/ftplugin/ld.vim +++ b/ftplugin/ld.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ld', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ld') finish endif diff --git a/ftplugin/less.vim b/ftplugin/less.vim index 87b66ecf..4946b22c 100644 --- a/ftplugin/less.vim +++ b/ftplugin/less.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('less', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'less') finish endif diff --git a/ftplugin/lftp.vim b/ftplugin/lftp.vim index 0088fab0..a5fa4dcd 100644 --- a/ftplugin/lftp.vim +++ b/ftplugin/lftp.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('lftp', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'lftp') finish endif diff --git a/ftplugin/libao.vim b/ftplugin/libao.vim index 9829dfa1..49700d8f 100644 --- a/ftplugin/libao.vim +++ b/ftplugin/libao.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('libao', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'libao') finish endif diff --git a/ftplugin/lilypond.vim b/ftplugin/lilypond.vim index 21b38497..5963cdaf 100644 --- a/ftplugin/lilypond.vim +++ b/ftplugin/lilypond.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('lilypond', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'lilypond') finish endif diff --git a/ftplugin/limits.vim b/ftplugin/limits.vim index 82828bb2..db9fd757 100644 --- a/ftplugin/limits.vim +++ b/ftplugin/limits.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('limits', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'limits') finish endif diff --git a/ftplugin/liquid.vim b/ftplugin/liquid.vim index 1b8a5d05..4eaa8094 100644 --- a/ftplugin/liquid.vim +++ b/ftplugin/liquid.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('liquid', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'liquid') finish endif diff --git a/ftplugin/lisp.vim b/ftplugin/lisp.vim index c6b097b1..5425a34c 100644 --- a/ftplugin/lisp.vim +++ b/ftplugin/lisp.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('lisp', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'lisp') finish endif diff --git a/ftplugin/litcoffee.vim b/ftplugin/litcoffee.vim index 75af16cd..622b368d 100644 --- a/ftplugin/litcoffee.vim +++ b/ftplugin/litcoffee.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'coffee-script') finish endif diff --git a/ftplugin/llvm.vim b/ftplugin/llvm.vim index 67da6358..a21fe96d 100644 --- a/ftplugin/llvm.vim +++ b/ftplugin/llvm.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('llvm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'llvm') finish endif diff --git a/ftplugin/logcheck.vim b/ftplugin/logcheck.vim index c69142ae..eb009fc2 100644 --- a/ftplugin/logcheck.vim +++ b/ftplugin/logcheck.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('logcheck', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'logcheck') finish endif diff --git a/ftplugin/loginaccess.vim b/ftplugin/loginaccess.vim index 5ad28b4c..028ebd5e 100644 --- a/ftplugin/loginaccess.vim +++ b/ftplugin/loginaccess.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('loginaccess', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'loginaccess') finish endif diff --git a/ftplugin/logindefs.vim b/ftplugin/logindefs.vim index 5c8f91d8..8c615834 100644 --- a/ftplugin/logindefs.vim +++ b/ftplugin/logindefs.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('logindefs', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'logindefs') finish endif diff --git a/ftplugin/logtalk.vim b/ftplugin/logtalk.vim index 2c75d4b5..d672350f 100644 --- a/ftplugin/logtalk.vim +++ b/ftplugin/logtalk.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('logtalk', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'logtalk') finish endif diff --git a/ftplugin/lprolog.vim b/ftplugin/lprolog.vim index ca24c8d5..1ed7120d 100644 --- a/ftplugin/lprolog.vim +++ b/ftplugin/lprolog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('lprolog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'lprolog') finish endif diff --git a/ftplugin/ls.vim b/ftplugin/ls.vim index 98542222..51fb7fb8 100644 --- a/ftplugin/ls.vim +++ b/ftplugin/ls.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('livescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'livescript') finish endif diff --git a/ftplugin/m4.vim b/ftplugin/m4.vim index 51c935ae..9cd3bfed 100644 --- a/ftplugin/m4.vim +++ b/ftplugin/m4.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('m4', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'm4') finish endif diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index eb2bf8b4..132f3b77 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mail', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mail') finish endif diff --git a/ftplugin/mailaliases.vim b/ftplugin/mailaliases.vim index 7fd68c4a..9b04c535 100644 --- a/ftplugin/mailaliases.vim +++ b/ftplugin/mailaliases.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mailaliases', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mailaliases') finish endif diff --git a/ftplugin/mailcap.vim b/ftplugin/mailcap.vim index a47cf59c..591414fa 100644 --- a/ftplugin/mailcap.vim +++ b/ftplugin/mailcap.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mailcap', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mailcap') finish endif diff --git a/ftplugin/make.vim b/ftplugin/make.vim index 02b0e320..f52a8491 100644 --- a/ftplugin/make.vim +++ b/ftplugin/make.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('make', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'make') finish endif diff --git a/ftplugin/mako.vim b/ftplugin/mako.vim index c68d6d67..f26d03ec 100644 --- a/ftplugin/mako.vim +++ b/ftplugin/mako.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mako', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mako') finish endif diff --git a/ftplugin/manconf.vim b/ftplugin/manconf.vim index 51490f66..5f3acd95 100644 --- a/ftplugin/manconf.vim +++ b/ftplugin/manconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('manconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'manconf') finish endif diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 03530bc9..a175f7ed 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('markdown', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'markdown') finish endif diff --git a/ftplugin/meson.vim b/ftplugin/meson.vim index 75c9d90d..0a3971f4 100644 --- a/ftplugin/meson.vim +++ b/ftplugin/meson.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('meson', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'meson') finish endif diff --git a/ftplugin/mf.vim b/ftplugin/mf.vim index 06af3469..c6611670 100644 --- a/ftplugin/mf.vim +++ b/ftplugin/mf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mf') finish endif diff --git a/ftplugin/mma.vim b/ftplugin/mma.vim index 2dc9cd61..7c50bbd2 100644 --- a/ftplugin/mma.vim +++ b/ftplugin/mma.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mathematica', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mathematica') finish endif diff --git a/ftplugin/modconf.vim b/ftplugin/modconf.vim index 26eb4a88..e47b54e2 100644 --- a/ftplugin/modconf.vim +++ b/ftplugin/modconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('modconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'modconf') finish endif diff --git a/ftplugin/moon.vim b/ftplugin/moon.vim index a4c0140f..edfeccb3 100644 --- a/ftplugin/moon.vim +++ b/ftplugin/moon.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('moonscript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'moonscript') finish endif diff --git a/ftplugin/mp.vim b/ftplugin/mp.vim index d73c51ac..1817ef3c 100644 --- a/ftplugin/mp.vim +++ b/ftplugin/mp.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mp', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mp') finish endif diff --git a/ftplugin/mplayerconf.vim b/ftplugin/mplayerconf.vim index 34166238..92b00892 100644 --- a/ftplugin/mplayerconf.vim +++ b/ftplugin/mplayerconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mplayerconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mplayerconf') finish endif diff --git a/ftplugin/mrxvtrc.vim b/ftplugin/mrxvtrc.vim index 6af76527..88c422ea 100644 --- a/ftplugin/mrxvtrc.vim +++ b/ftplugin/mrxvtrc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('mrxvtrc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'mrxvtrc') finish endif diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim index c494c195..a9bfced5 100644 --- a/ftplugin/mustache.vim +++ b/ftplugin/mustache.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('handlebars', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'handlebars') finish endif diff --git a/ftplugin/muttrc.vim b/ftplugin/muttrc.vim index cd4321be..1a21184b 100644 --- a/ftplugin/muttrc.vim +++ b/ftplugin/muttrc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('muttrc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'muttrc') finish endif diff --git a/ftplugin/nanorc.vim b/ftplugin/nanorc.vim index f558d671..e7e37557 100644 --- a/ftplugin/nanorc.vim +++ b/ftplugin/nanorc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nanorc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nanorc') finish endif diff --git a/ftplugin/neomuttrc.vim b/ftplugin/neomuttrc.vim index a20c2c4d..2d2739a1 100644 --- a/ftplugin/neomuttrc.vim +++ b/ftplugin/neomuttrc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('neomuttrc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'neomuttrc') finish endif diff --git a/ftplugin/netrc.vim b/ftplugin/netrc.vim index 73eeeee1..d60f0174 100644 --- a/ftplugin/netrc.vim +++ b/ftplugin/netrc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('netrc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'netrc') finish endif diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim index 4befc51b..464b898a 100644 --- a/ftplugin/nginx.vim +++ b/ftplugin/nginx.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nginx', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nginx') finish endif diff --git a/ftplugin/nix.vim b/ftplugin/nix.vim index 9b998729..b8d6f5ec 100644 --- a/ftplugin/nix.vim +++ b/ftplugin/nix.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nix', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nix') finish endif diff --git a/ftplugin/nroff.vim b/ftplugin/nroff.vim index 1d56daa9..f7e29ce2 100644 --- a/ftplugin/nroff.vim +++ b/ftplugin/nroff.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nroff', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nroff') finish endif diff --git a/ftplugin/nsis.vim b/ftplugin/nsis.vim index 697f2d67..12254f92 100644 --- a/ftplugin/nsis.vim +++ b/ftplugin/nsis.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nsis', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nsis') finish endif diff --git a/ftplugin/oasis.vim b/ftplugin/oasis.vim index cfe932fe..0066807e 100644 --- a/ftplugin/oasis.vim +++ b/ftplugin/oasis.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/objc.vim b/ftplugin/objc.vim index 2d108e5b..1ba3e633 100644 --- a/ftplugin/objc.vim +++ b/ftplugin/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/ftplugin/ocaml.vim b/ftplugin/ocaml.vim index d9e56533..b5859598 100644 --- a/ftplugin/ocaml.vim +++ b/ftplugin/ocaml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/ocamlbuild_tags.vim b/ftplugin/ocamlbuild_tags.vim index cfe932fe..0066807e 100644 --- a/ftplugin/ocamlbuild_tags.vim +++ b/ftplugin/ocamlbuild_tags.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/occam.vim b/ftplugin/occam.vim index 766c71fb..f8fb78cc 100644 --- a/ftplugin/occam.vim +++ b/ftplugin/occam.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('occam', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'occam') finish endif diff --git a/ftplugin/omake.vim b/ftplugin/omake.vim index e75e09b3..10669285 100644 --- a/ftplugin/omake.vim +++ b/ftplugin/omake.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/opencl.vim b/ftplugin/opencl.vim index ab894361..c15c0627 100644 --- a/ftplugin/opencl.vim +++ b/ftplugin/opencl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('opencl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'opencl') finish endif diff --git a/ftplugin/pamconf.vim b/ftplugin/pamconf.vim index 09dada12..f6867e46 100644 --- a/ftplugin/pamconf.vim +++ b/ftplugin/pamconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pamconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pamconf') finish endif diff --git a/ftplugin/pascal.vim b/ftplugin/pascal.vim index 542343da..4546ed74 100644 --- a/ftplugin/pascal.vim +++ b/ftplugin/pascal.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pascal', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pascal') finish endif diff --git a/ftplugin/passwd.vim b/ftplugin/passwd.vim index 70aa41c2..a963340d 100644 --- a/ftplugin/passwd.vim +++ b/ftplugin/passwd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('passwd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'passwd') finish endif diff --git a/ftplugin/pdf.vim b/ftplugin/pdf.vim index bf637d0f..882cdd2c 100644 --- a/ftplugin/pdf.vim +++ b/ftplugin/pdf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pdf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pdf') finish endif diff --git a/ftplugin/perl.vim b/ftplugin/perl.vim index 33475a85..69657fef 100644 --- a/ftplugin/perl.vim +++ b/ftplugin/perl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('perl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'perl') finish endif diff --git a/ftplugin/pinfo.vim b/ftplugin/pinfo.vim index 72ed6b95..aafc6938 100644 --- a/ftplugin/pinfo.vim +++ b/ftplugin/pinfo.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pinfo', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pinfo') finish endif diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim index 5146b243..88ec433c 100644 --- a/ftplugin/plantuml.vim +++ b/ftplugin/plantuml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('plantuml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'plantuml') finish endif diff --git a/ftplugin/pony.vim b/ftplugin/pony.vim index 7d2d684e..7a6cb9cf 100644 --- a/ftplugin/pony.vim +++ b/ftplugin/pony.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pony', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pony') finish endif diff --git a/ftplugin/postscr.vim b/ftplugin/postscr.vim index e2926fb0..84345a67 100644 --- a/ftplugin/postscr.vim +++ b/ftplugin/postscr.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('postscr', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'postscr') finish endif diff --git a/ftplugin/procmail.vim b/ftplugin/procmail.vim index fed5e4d4..9f7337e9 100644 --- a/ftplugin/procmail.vim +++ b/ftplugin/procmail.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('procmail', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'procmail') finish endif diff --git a/ftplugin/prolog.vim b/ftplugin/prolog.vim index 0ed3fccf..46306162 100644 --- a/ftplugin/prolog.vim +++ b/ftplugin/prolog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('prolog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'prolog') finish endif diff --git a/ftplugin/protocols.vim b/ftplugin/protocols.vim index da0a6699..608a1767 100644 --- a/ftplugin/protocols.vim +++ b/ftplugin/protocols.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('protocols', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'protocols') finish endif diff --git a/ftplugin/ps1.vim b/ftplugin/ps1.vim index 25c015cb..93e206e9 100644 --- a/ftplugin/ps1.vim +++ b/ftplugin/ps1.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'powershell') finish endif diff --git a/ftplugin/ps1xml.vim b/ftplugin/ps1xml.vim index e8afcf6a..4014865b 100644 --- a/ftplugin/ps1xml.vim +++ b/ftplugin/ps1xml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'powershell') finish endif diff --git a/ftplugin/pug.vim b/ftplugin/pug.vim index 4be43d55..b29b12ad 100644 --- a/ftplugin/pug.vim +++ b/ftplugin/pug.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pug', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pug') finish endif diff --git a/ftplugin/puppet.vim b/ftplugin/puppet.vim index 6c8ec633..c4fe70fa 100644 --- a/ftplugin/puppet.vim +++ b/ftplugin/puppet.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('puppet', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'puppet') finish endif diff --git a/ftplugin/puppet_tagbar.vim b/ftplugin/puppet_tagbar.vim index 6724b3a0..5c567546 100644 --- a/ftplugin/puppet_tagbar.vim +++ b/ftplugin/puppet_tagbar.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('puppet', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'puppet') finish endif diff --git a/ftplugin/purescript.vim b/ftplugin/purescript.vim index 366b2da2..e21e6dde 100644 --- a/ftplugin/purescript.vim +++ b/ftplugin/purescript.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('purescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'purescript') finish endif diff --git a/ftplugin/pyrex.vim b/ftplugin/pyrex.vim index 5c64042c..c3e81272 100644 --- a/ftplugin/pyrex.vim +++ b/ftplugin/pyrex.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('pyrex', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'pyrex') finish endif diff --git a/ftplugin/qml.vim b/ftplugin/qml.vim index ae94d461..e725ba51 100644 --- a/ftplugin/qml.vim +++ b/ftplugin/qml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('qml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'qml') finish endif diff --git a/ftplugin/quake.vim b/ftplugin/quake.vim index 03b49c0a..47f61ef1 100644 --- a/ftplugin/quake.vim +++ b/ftplugin/quake.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('quake', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'quake') finish endif diff --git a/ftplugin/racket.vim b/ftplugin/racket.vim index ad4be8c8..413dd627 100644 --- a/ftplugin/racket.vim +++ b/ftplugin/racket.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('racket', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'racket') finish endif diff --git a/ftplugin/raku.vim b/ftplugin/raku.vim index 8f9a55ec..ec2bcccd 100644 --- a/ftplugin/raku.vim +++ b/ftplugin/raku.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('raku', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'raku') finish endif diff --git a/ftplugin/raml.vim b/ftplugin/raml.vim index fecbba66..4eb1e58f 100644 --- a/ftplugin/raml.vim +++ b/ftplugin/raml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('raml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'raml') finish endif diff --git a/ftplugin/razor.vim b/ftplugin/razor.vim index 4bd0bc4a..d5458d47 100644 --- a/ftplugin/razor.vim +++ b/ftplugin/razor.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('razor', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'razor') finish endif diff --git a/ftplugin/readline.vim b/ftplugin/readline.vim index b1a0a0bc..9a3030fb 100644 --- a/ftplugin/readline.vim +++ b/ftplugin/readline.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('readline', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'readline') finish endif diff --git a/ftplugin/reva.vim b/ftplugin/reva.vim index b5211a02..3163440c 100644 --- a/ftplugin/reva.vim +++ b/ftplugin/reva.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('reva', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'reva') finish endif diff --git a/ftplugin/rmd.vim b/ftplugin/rmd.vim index f0e6ce6f..fbe78423 100644 --- a/ftplugin/rmd.vim +++ b/ftplugin/rmd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rmd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rmd') finish endif diff --git a/ftplugin/rnc.vim b/ftplugin/rnc.vim index 86645ab4..efd596e8 100644 --- a/ftplugin/rnc.vim +++ b/ftplugin/rnc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rnc', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rnc') finish endif diff --git a/ftplugin/rnoweb.vim b/ftplugin/rnoweb.vim index 44e4d0fc..b049d7d9 100644 --- a/ftplugin/rnoweb.vim +++ b/ftplugin/rnoweb.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rnoweb', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rnoweb') finish endif diff --git a/ftplugin/rpl.vim b/ftplugin/rpl.vim index 3324ea9b..94af1a68 100644 --- a/ftplugin/rpl.vim +++ b/ftplugin/rpl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rpl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rpl') finish endif diff --git a/ftplugin/rrst.vim b/ftplugin/rrst.vim index dd8b1238..1708b975 100644 --- a/ftplugin/rrst.vim +++ b/ftplugin/rrst.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rrst', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rrst') finish endif diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim index 10554403..29c7da66 100644 --- a/ftplugin/rst.vim +++ b/ftplugin/rst.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rst', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rst') finish endif diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index cbf047e0..cf1b8f4f 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim index b5e3b771..02664bd9 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rust', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rust') finish endif diff --git a/ftplugin/rust/tagbar.vim b/ftplugin/rust/tagbar.vim index f8ccbf75..5de12f9c 100644 --- a/ftplugin/rust/tagbar.vim +++ b/ftplugin/rust/tagbar.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rust', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rust') finish endif diff --git a/ftplugin/sass.vim b/ftplugin/sass.vim index ec303c12..7e20a9f3 100644 --- a/ftplugin/sass.vim +++ b/ftplugin/sass.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sass', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sass') finish endif diff --git a/ftplugin/sbt.vim b/ftplugin/sbt.vim index 9d6b6429..a6e8ac72 100644 --- a/ftplugin/sbt.vim +++ b/ftplugin/sbt.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sbt', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sbt') finish endif diff --git a/ftplugin/scala.vim b/ftplugin/scala.vim index 29bb9238..1edd9b47 100644 --- a/ftplugin/scala.vim +++ b/ftplugin/scala.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scala', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scala') finish endif diff --git a/ftplugin/scala.xpt.vim b/ftplugin/scala.xpt.vim index e18ced84..6bb1f8ba 100644 --- a/ftplugin/scala.xpt.vim +++ b/ftplugin/scala.xpt.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scala', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scala') finish endif diff --git a/ftplugin/scala/tagbar.vim b/ftplugin/scala/tagbar.vim index c290af07..02eeb7ad 100644 --- a/ftplugin/scala/tagbar.vim +++ b/ftplugin/scala/tagbar.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scala', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scala') finish endif diff --git a/ftplugin/scheme.vim b/ftplugin/scheme.vim index edbcfa0c..279bd667 100644 --- a/ftplugin/scheme.vim +++ b/ftplugin/scheme.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scheme', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scheme') finish endif diff --git a/ftplugin/screen.vim b/ftplugin/screen.vim index d2da6398..cfe815fc 100644 --- a/ftplugin/screen.vim +++ b/ftplugin/screen.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('screen', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'screen') finish endif diff --git a/ftplugin/scss.vim b/ftplugin/scss.vim index 78cbe958..3f9bf7bc 100644 --- a/ftplugin/scss.vim +++ b/ftplugin/scss.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scss', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scss') finish endif diff --git a/ftplugin/sensors.vim b/ftplugin/sensors.vim index 3d9109ea..9ef23447 100644 --- a/ftplugin/sensors.vim +++ b/ftplugin/sensors.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sensors', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sensors') finish endif diff --git a/ftplugin/services.vim b/ftplugin/services.vim index 84afa274..c23297cb 100644 --- a/ftplugin/services.vim +++ b/ftplugin/services.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('services', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'services') finish endif diff --git a/ftplugin/setserial.vim b/ftplugin/setserial.vim index 5bbe7182..308863aa 100644 --- a/ftplugin/setserial.vim +++ b/ftplugin/setserial.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('setserial', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'setserial') finish endif diff --git a/ftplugin/sexplib.vim b/ftplugin/sexplib.vim index c019c9e4..3546c5f8 100644 --- a/ftplugin/sexplib.vim +++ b/ftplugin/sexplib.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/ftplugin/sieve.vim b/ftplugin/sieve.vim index 596fdd80..370a9e81 100644 --- a/ftplugin/sieve.vim +++ b/ftplugin/sieve.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sieve', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sieve') finish endif diff --git a/ftplugin/slim.vim b/ftplugin/slim.vim index 46b72c08..7b51ffd8 100644 --- a/ftplugin/slim.vim +++ b/ftplugin/slim.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('slim', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'slim') finish endif diff --git a/ftplugin/slpconf.vim b/ftplugin/slpconf.vim index e036286c..b7ee39a5 100644 --- a/ftplugin/slpconf.vim +++ b/ftplugin/slpconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('slpconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'slpconf') finish endif diff --git a/ftplugin/slpreg.vim b/ftplugin/slpreg.vim index f3b64456..bb25237b 100644 --- a/ftplugin/slpreg.vim +++ b/ftplugin/slpreg.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('slpreg', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'slpreg') finish endif diff --git a/ftplugin/slpspi.vim b/ftplugin/slpspi.vim index 5e6641ba..1653681f 100644 --- a/ftplugin/slpspi.vim +++ b/ftplugin/slpspi.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('slpspi', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'slpspi') finish endif diff --git a/ftplugin/smt2.vim b/ftplugin/smt2.vim index 03b5ba2b..243ee2a9 100644 --- a/ftplugin/smt2.vim +++ b/ftplugin/smt2.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('smt2', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'smt2') finish endif diff --git a/ftplugin/solidity.vim b/ftplugin/solidity.vim index 1d52826e..a9b4e671 100644 --- a/ftplugin/solidity.vim +++ b/ftplugin/solidity.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('solidity', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'solidity') finish endif diff --git a/ftplugin/spec.vim b/ftplugin/spec.vim index a7b9f9cd..8d7a14b5 100644 --- a/ftplugin/spec.vim +++ b/ftplugin/spec.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('spec', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'spec') finish endif diff --git a/ftplugin/sql.vim b/ftplugin/sql.vim index 3338aed8..a187c6ee 100644 --- a/ftplugin/sql.vim +++ b/ftplugin/sql.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sql', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sql') finish endif diff --git a/ftplugin/sshconfig.vim b/ftplugin/sshconfig.vim index b68be8b1..8fc36964 100644 --- a/ftplugin/sshconfig.vim +++ b/ftplugin/sshconfig.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sshconfig', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sshconfig') finish endif diff --git a/ftplugin/stylus.vim b/ftplugin/stylus.vim index 538a491a..89a6272e 100644 --- a/ftplugin/stylus.vim +++ b/ftplugin/stylus.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('stylus', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'stylus') finish endif diff --git a/ftplugin/sudoers.vim b/ftplugin/sudoers.vim index e085e5a6..3ae23eb1 100644 --- a/ftplugin/sudoers.vim +++ b/ftplugin/sudoers.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sudoers', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sudoers') finish endif diff --git a/ftplugin/svelte.vim b/ftplugin/svelte.vim index 132e6bbe..28af186a 100644 --- a/ftplugin/svelte.vim +++ b/ftplugin/svelte.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('svelte', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'svelte') finish endif diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim index 830acfb7..bae53a34 100644 --- a/ftplugin/swift.vim +++ b/ftplugin/swift.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('swift', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'swift') finish endif diff --git a/ftplugin/swiftgyb.vim b/ftplugin/swiftgyb.vim index 6468b9cd..75aee251 100644 --- a/ftplugin/swiftgyb.vim +++ b/ftplugin/swiftgyb.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('swiftgyb', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'swiftgyb') finish endif diff --git a/ftplugin/sysctl.vim b/ftplugin/sysctl.vim index efb8ce6b..d57cd390 100644 --- a/ftplugin/sysctl.vim +++ b/ftplugin/sysctl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sysctl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sysctl') finish endif diff --git a/ftplugin/systemd.vim b/ftplugin/systemd.vim index 26adf612..cf8e76db 100644 --- a/ftplugin/systemd.vim +++ b/ftplugin/systemd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('systemd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'systemd') finish endif diff --git a/ftplugin/systemverilog.vim b/ftplugin/systemverilog.vim index 2f0a7244..1a0823c7 100644 --- a/ftplugin/systemverilog.vim +++ b/ftplugin/systemverilog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('systemverilog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'systemverilog') finish endif diff --git a/ftplugin/tablegen.vim b/ftplugin/tablegen.vim index 28bd6fdd..1fdf0515 100644 --- a/ftplugin/tablegen.vim +++ b/ftplugin/tablegen.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('llvm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'llvm') finish endif diff --git a/ftplugin/tcl.vim b/ftplugin/tcl.vim index 7ba25f7f..d359b3f8 100644 --- a/ftplugin/tcl.vim +++ b/ftplugin/tcl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tcl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tcl') finish endif diff --git a/ftplugin/terminfo.vim b/ftplugin/terminfo.vim index a83ca282..4bc23398 100644 --- a/ftplugin/terminfo.vim +++ b/ftplugin/terminfo.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('terminfo', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'terminfo') finish endif diff --git a/ftplugin/terraform.vim b/ftplugin/terraform.vim index 63e74df7..191fd3f1 100644 --- a/ftplugin/terraform.vim +++ b/ftplugin/terraform.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('terraform', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'terraform') finish endif diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim index 53b95e3f..17b3e2a7 100644 --- a/ftplugin/tex.vim +++ b/ftplugin/tex.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tex', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tex') finish endif diff --git a/ftplugin/text.vim b/ftplugin/text.vim index 99d387f5..1f14648d 100644 --- a/ftplugin/text.vim +++ b/ftplugin/text.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('text', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'text') finish endif diff --git a/ftplugin/textile.vim b/ftplugin/textile.vim index 96828942..e636bd55 100644 --- a/ftplugin/textile.vim +++ b/ftplugin/textile.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('textile', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'textile') finish endif diff --git a/ftplugin/tmux.vim b/ftplugin/tmux.vim index c598635f..34ad2f15 100644 --- a/ftplugin/tmux.vim +++ b/ftplugin/tmux.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tmux', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tmux') finish endif diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim index fb12e87c..b510817f 100644 --- a/ftplugin/toml.vim +++ b/ftplugin/toml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('toml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'toml') finish endif diff --git a/ftplugin/treetop.vim b/ftplugin/treetop.vim index 65a43fb7..44f4e530 100644 --- a/ftplugin/treetop.vim +++ b/ftplugin/treetop.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('treetop', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'treetop') finish endif diff --git a/ftplugin/tt2html.vim b/ftplugin/tt2html.vim index c1c47c56..e6496e61 100644 --- a/ftplugin/tt2html.vim +++ b/ftplugin/tt2html.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('perl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'perl') finish endif diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim index ac52d1b9..7635a4fb 100644 --- a/ftplugin/twig.vim +++ b/ftplugin/twig.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('twig', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'twig') finish endif diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim index 4eece320..ff2b5baa 100644 --- a/ftplugin/typescript.vim +++ b/ftplugin/typescript.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'typescript') finish endif diff --git a/ftplugin/typescriptreact.vim b/ftplugin/typescriptreact.vim index 7f60b3f9..e5780918 100644 --- a/ftplugin/typescriptreact.vim +++ b/ftplugin/typescriptreact.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'typescript') finish endif diff --git a/ftplugin/udevconf.vim b/ftplugin/udevconf.vim index d82aea9e..72eef04a 100644 --- a/ftplugin/udevconf.vim +++ b/ftplugin/udevconf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('udevconf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'udevconf') finish endif diff --git a/ftplugin/udevperm.vim b/ftplugin/udevperm.vim index bdafc586..56f956fb 100644 --- a/ftplugin/udevperm.vim +++ b/ftplugin/udevperm.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('udevperm', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'udevperm') finish endif diff --git a/ftplugin/updatedb.vim b/ftplugin/updatedb.vim index 48f24051..5dbc78a7 100644 --- a/ftplugin/updatedb.vim +++ b/ftplugin/updatedb.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('updatedb', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'updatedb') finish endif diff --git a/ftplugin/vala.vim b/ftplugin/vala.vim index 32d41d1b..a76bb1ae 100644 --- a/ftplugin/vala.vim +++ b/ftplugin/vala.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('vala', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'vala') finish endif diff --git a/ftplugin/vb.vim b/ftplugin/vb.vim index 23cbd0ac..4f5ae89c 100644 --- a/ftplugin/vb.vim +++ b/ftplugin/vb.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('visual-basic', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'visual-basic') finish endif diff --git a/ftplugin/verilog.vim b/ftplugin/verilog.vim index 5b123335..fe059573 100644 --- a/ftplugin/verilog.vim +++ b/ftplugin/verilog.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('verilog', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'verilog') finish endif diff --git a/ftplugin/vhdl.vim b/ftplugin/vhdl.vim index 0e98087c..8861b614 100644 --- a/ftplugin/vhdl.vim +++ b/ftplugin/vhdl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('vhdl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'vhdl') finish endif diff --git a/ftplugin/vlang.vim b/ftplugin/vlang.vim index a3d3ceac..de4d7e03 100644 --- a/ftplugin/vlang.vim +++ b/ftplugin/vlang.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('v', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'v') finish endif diff --git a/ftplugin/vroom.vim b/ftplugin/vroom.vim index b73c76f3..982b2631 100644 --- a/ftplugin/vroom.vim +++ b/ftplugin/vroom.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('vroom', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'vroom') finish endif diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim index 6cc068c6..44f1e258 100644 --- a/ftplugin/vue.vim +++ b/ftplugin/vue.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('vue', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'vue') finish endif diff --git a/ftplugin/wast.vim b/ftplugin/wast.vim index 8e8b16b2..6e4aad47 100644 --- a/ftplugin/wast.vim +++ b/ftplugin/wast.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('wast', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'wast') finish endif diff --git a/ftplugin/xdefaults.vim b/ftplugin/xdefaults.vim index 9c7c7731..fadb2702 100644 --- a/ftplugin/xdefaults.vim +++ b/ftplugin/xdefaults.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xdefaults', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xdefaults') finish endif diff --git a/ftplugin/xf86conf.vim b/ftplugin/xf86conf.vim index 62e7e0e6..3b0fd9fb 100644 --- a/ftplugin/xf86conf.vim +++ b/ftplugin/xf86conf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xf86conf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xf86conf') finish endif diff --git a/ftplugin/xhtml.vim b/ftplugin/xhtml.vim index a2f6a724..db379aa6 100644 --- a/ftplugin/xhtml.vim +++ b/ftplugin/xhtml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xhtml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xhtml') finish endif diff --git a/ftplugin/xinetd.vim b/ftplugin/xinetd.vim index c489135c..618cf2d1 100644 --- a/ftplugin/xinetd.vim +++ b/ftplugin/xinetd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xinetd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xinetd') finish endif diff --git a/ftplugin/xmodmap.vim b/ftplugin/xmodmap.vim index c80fbd34..32a1aa27 100644 --- a/ftplugin/xmodmap.vim +++ b/ftplugin/xmodmap.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xmodmap', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xmodmap') finish endif diff --git a/ftplugin/xs.vim b/ftplugin/xs.vim index a3f996a8..b3ddbf61 100644 --- a/ftplugin/xs.vim +++ b/ftplugin/xs.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('perl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'perl') finish endif diff --git a/ftplugin/xsd.vim b/ftplugin/xsd.vim index d4849682..236fc52f 100644 --- a/ftplugin/xsd.vim +++ b/ftplugin/xsd.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xsd', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xsd') finish endif diff --git a/ftplugin/xslt.vim b/ftplugin/xslt.vim index 034cefbb..35ca3a1d 100644 --- a/ftplugin/xslt.vim +++ b/ftplugin/xslt.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('xslt', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'xslt') finish endif diff --git a/ftplugin/yaml.vim b/ftplugin/yaml.vim index 5ffdb31a..22d31afb 100644 --- a/ftplugin/yaml.vim +++ b/ftplugin/yaml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('yaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'yaml') finish endif diff --git a/ftplugin/zig.vim b/ftplugin/zig.vim index 7762b877..da9fafc6 100644 --- a/ftplugin/zig.vim +++ b/ftplugin/zig.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('zig', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'zig') finish endif diff --git a/ftplugin/zimbu.vim b/ftplugin/zimbu.vim index 71575497..3531f9cc 100644 --- a/ftplugin/zimbu.vim +++ b/ftplugin/zimbu.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('zimbu', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'zimbu') finish endif |