diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
commit | 05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 (patch) | |
tree | c01457f2798bbbeaf313ac343315aec5a2aa3859 /ftplugin | |
parent | f3b646fd6f6070072d9b4ec958815b74a8a333f2 (diff) | |
download | vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.tar.gz vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.zip |
Fix loading for vim 8 packages, closes #613
Diffstat (limited to 'ftplugin')
263 files changed, 263 insertions, 263 deletions
diff --git a/ftplugin/8th.vim b/ftplugin/8th.vim index e3f8d209..e9a63dc1 100644 --- a/ftplugin/8th.vim +++ b/ftplugin/8th.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, '8th') +if polyglot#init#is_disabled(expand('<sfile>:p'), '8th', 'ftplugin/8th.vim') finish endif diff --git a/ftplugin/a2ps.vim b/ftplugin/a2ps.vim index 3e540faa..34d45368 100644 --- a/ftplugin/a2ps.vim +++ b/ftplugin/a2ps.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'a2ps') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'a2ps', 'ftplugin/a2ps.vim') finish endif diff --git a/ftplugin/aap.vim b/ftplugin/aap.vim index e77d43b9..3a8f1cbb 100644 --- a/ftplugin/aap.vim +++ b/ftplugin/aap.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'aap') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'aap', 'ftplugin/aap.vim') finish endif diff --git a/ftplugin/abap.vim b/ftplugin/abap.vim index 2e7fa283..3b4bbc67 100644 --- a/ftplugin/abap.vim +++ b/ftplugin/abap.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'abap') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'abap', 'ftplugin/abap.vim') finish endif diff --git a/ftplugin/abaqus.vim b/ftplugin/abaqus.vim index d6d0e116..e9dfc577 100644 --- a/ftplugin/abaqus.vim +++ b/ftplugin/abaqus.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'abaqus') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'abaqus', 'ftplugin/abaqus.vim') finish endif diff --git a/ftplugin/ada.vim b/ftplugin/ada.vim index 23e36e31..d7b34be0 100644 --- a/ftplugin/ada.vim +++ b/ftplugin/ada.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ada') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ada', 'ftplugin/ada.vim') finish endif diff --git a/ftplugin/alsaconf.vim b/ftplugin/alsaconf.vim index cd8d60ef..b58b7a46 100644 --- a/ftplugin/alsaconf.vim +++ b/ftplugin/alsaconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'alsaconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'alsaconf', 'ftplugin/alsaconf.vim') finish endif diff --git a/ftplugin/ansible.vim b/ftplugin/ansible.vim index 5b8a015b..cd61e64c 100644 --- a/ftplugin/ansible.vim +++ b/ftplugin/ansible.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ansible') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ansible', 'ftplugin/ansible.vim') finish endif diff --git a/ftplugin/ansible_hosts.vim b/ftplugin/ansible_hosts.vim index adc3bbd8..e8618f13 100644 --- a/ftplugin/ansible_hosts.vim +++ b/ftplugin/ansible_hosts.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ansible') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ansible', 'ftplugin/ansible_hosts.vim') finish endif diff --git a/ftplugin/ant.vim b/ftplugin/ant.vim index 01122fd7..9705d61f 100644 --- a/ftplugin/ant.vim +++ b/ftplugin/ant.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ant') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ant', 'ftplugin/ant.vim') finish endif diff --git a/ftplugin/arch.vim b/ftplugin/arch.vim index 47e97c7d..654d1293 100644 --- a/ftplugin/arch.vim +++ b/ftplugin/arch.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'arch') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'arch', 'ftplugin/arch.vim') finish endif diff --git a/ftplugin/art.vim b/ftplugin/art.vim index bcf60050..0bfa63be 100644 --- a/ftplugin/art.vim +++ b/ftplugin/art.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'art') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'art', 'ftplugin/art.vim') finish endif diff --git a/ftplugin/aspvbs.vim b/ftplugin/aspvbs.vim index 44569368..5f60f747 100644 --- a/ftplugin/aspvbs.vim +++ b/ftplugin/aspvbs.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'aspvbs') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'aspvbs', 'ftplugin/aspvbs.vim') finish endif diff --git a/ftplugin/automake.vim b/ftplugin/automake.vim index 071d52f4..520ec01e 100644 --- a/ftplugin/automake.vim +++ b/ftplugin/automake.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'automake') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'automake', 'ftplugin/automake.vim') finish endif diff --git a/ftplugin/awk.vim b/ftplugin/awk.vim index a534249b..4b225e35 100644 --- a/ftplugin/awk.vim +++ b/ftplugin/awk.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'awk') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'awk', 'ftplugin/awk.vim') finish endif diff --git a/ftplugin/bdf.vim b/ftplugin/bdf.vim index d8834f41..a2e4bcb4 100644 --- a/ftplugin/bdf.vim +++ b/ftplugin/bdf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'bdf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'bdf', 'ftplugin/bdf.vim') finish endif diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim index db3c1c01..861260cc 100644 --- a/ftplugin/blade.vim +++ b/ftplugin/blade.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'blade') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'blade', 'ftplugin/blade.vim') finish endif diff --git a/ftplugin/bst.vim b/ftplugin/bst.vim index 722d7896..10a4b27d 100644 --- a/ftplugin/bst.vim +++ b/ftplugin/bst.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'bst') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'bst', 'ftplugin/bst.vim') finish endif diff --git a/ftplugin/bzl.vim b/ftplugin/bzl.vim index 59501110..b1ece99b 100644 --- a/ftplugin/bzl.vim +++ b/ftplugin/bzl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'bzl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'bzl', 'ftplugin/bzl.vim') finish endif diff --git a/ftplugin/caddyfile.vim b/ftplugin/caddyfile.vim index b56238cf..b3e48a08 100644 --- a/ftplugin/caddyfile.vim +++ b/ftplugin/caddyfile.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'caddyfile') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'caddyfile', 'ftplugin/caddyfile.vim') finish endif diff --git a/ftplugin/calendar.vim b/ftplugin/calendar.vim index 7f73c6e0..13bb5607 100644 --- a/ftplugin/calendar.vim +++ b/ftplugin/calendar.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'calendar') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'calendar', 'ftplugin/calendar.vim') finish endif diff --git a/ftplugin/cdrdaoconf.vim b/ftplugin/cdrdaoconf.vim index cc3ad4aa..9cf73ec2 100644 --- a/ftplugin/cdrdaoconf.vim +++ b/ftplugin/cdrdaoconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cdrdaoconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cdrdaoconf', 'ftplugin/cdrdaoconf.vim') finish endif diff --git a/ftplugin/cfg.vim b/ftplugin/cfg.vim index 42c1f95a..f6f039e8 100644 --- a/ftplugin/cfg.vim +++ b/ftplugin/cfg.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cfg') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cfg', 'ftplugin/cfg.vim') finish endif diff --git a/ftplugin/ch.vim b/ftplugin/ch.vim index 030c21dd..2855416b 100644 --- a/ftplugin/ch.vim +++ b/ftplugin/ch.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ch') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ch', 'ftplugin/ch.vim') finish endif diff --git a/ftplugin/clojure.vim b/ftplugin/clojure.vim index 7211f7f0..279d4283 100644 --- a/ftplugin/clojure.vim +++ b/ftplugin/clojure.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'clojure') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'clojure', 'ftplugin/clojure.vim') finish endif diff --git a/ftplugin/cobol.vim b/ftplugin/cobol.vim index a3db3c43..bea6152f 100644 --- a/ftplugin/cobol.vim +++ b/ftplugin/cobol.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cobol') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cobol', 'ftplugin/cobol.vim') finish endif diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim index 701d4796..84378a75 100644 --- a/ftplugin/coffee.vim +++ b/ftplugin/coffee.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'coffee-script') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'ftplugin/coffee.vim') finish endif diff --git a/ftplugin/conf.vim b/ftplugin/conf.vim index dd150de9..210123ce 100644 --- a/ftplugin/conf.vim +++ b/ftplugin/conf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'conf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'conf', 'ftplugin/conf.vim') finish endif diff --git a/ftplugin/config.vim b/ftplugin/config.vim index a414fef5..a302b7ca 100644 --- a/ftplugin/config.vim +++ b/ftplugin/config.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'config') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'config', 'ftplugin/config.vim') finish endif diff --git a/ftplugin/crm.vim b/ftplugin/crm.vim index a407ed00..973eb1b0 100644 --- a/ftplugin/crm.vim +++ b/ftplugin/crm.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'crm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'crm', 'ftplugin/crm.vim') finish endif diff --git a/ftplugin/cryptol/folding.vim b/ftplugin/cryptol/folding.vim index 7adca3ef..eb2786a1 100644 --- a/ftplugin/cryptol/folding.vim +++ b/ftplugin/cryptol/folding.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cryptol') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cryptol', 'ftplugin/cryptol/folding.vim') finish endif diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim index d94babeb..3d0887b6 100644 --- a/ftplugin/crystal.vim +++ b/ftplugin/crystal.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'crystal') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'ftplugin/crystal.vim') finish endif diff --git a/ftplugin/cs.vim b/ftplugin/cs.vim index f3a14da4..e22ea5e7 100644 --- a/ftplugin/cs.vim +++ b/ftplugin/cs.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cs') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cs', 'ftplugin/cs.vim') finish endif diff --git a/ftplugin/csc.vim b/ftplugin/csc.vim index ef3e9d23..bdf6a477 100644 --- a/ftplugin/csc.vim +++ b/ftplugin/csc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'csc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'csc', 'ftplugin/csc.vim') finish endif diff --git a/ftplugin/css.vim b/ftplugin/css.vim index 5d4dca2a..f75c461b 100644 --- a/ftplugin/css.vim +++ b/ftplugin/css.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'css') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'css', 'ftplugin/css.vim') finish endif diff --git a/ftplugin/csv.vim b/ftplugin/csv.vim index 71b3de19..2d8eb313 100644 --- a/ftplugin/csv.vim +++ b/ftplugin/csv.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'csv') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'csv', 'ftplugin/csv.vim') finish endif diff --git a/ftplugin/cucumber.vim b/ftplugin/cucumber.vim index f1153f5e..08bb62de 100644 --- a/ftplugin/cucumber.vim +++ b/ftplugin/cucumber.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cucumber') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cucumber', 'ftplugin/cucumber.vim') finish endif diff --git a/ftplugin/cvsrc.vim b/ftplugin/cvsrc.vim index b5f5693e..3a65d1c0 100644 --- a/ftplugin/cvsrc.vim +++ b/ftplugin/cvsrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'cvsrc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'cvsrc', 'ftplugin/cvsrc.vim') finish endif diff --git a/ftplugin/dart.vim b/ftplugin/dart.vim index d6609181..d219781a 100644 --- a/ftplugin/dart.vim +++ b/ftplugin/dart.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dart') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dart', 'ftplugin/dart.vim') finish endif diff --git a/ftplugin/debchangelog.vim b/ftplugin/debchangelog.vim index 27d521eb..b32f3369 100644 --- a/ftplugin/debchangelog.vim +++ b/ftplugin/debchangelog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'debchangelog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'debchangelog', 'ftplugin/debchangelog.vim') finish endif diff --git a/ftplugin/debcontrol.vim b/ftplugin/debcontrol.vim index 841f2b7c..ce6059f7 100644 --- a/ftplugin/debcontrol.vim +++ b/ftplugin/debcontrol.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'debcontrol') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'debcontrol', 'ftplugin/debcontrol.vim') finish endif diff --git a/ftplugin/denyhosts.vim b/ftplugin/denyhosts.vim index 04ab7760..349bdb21 100644 --- a/ftplugin/denyhosts.vim +++ b/ftplugin/denyhosts.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'denyhosts') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'denyhosts', 'ftplugin/denyhosts.vim') finish endif diff --git a/ftplugin/dhall.vim b/ftplugin/dhall.vim index 6c183c35..a484585b 100644 --- a/ftplugin/dhall.vim +++ b/ftplugin/dhall.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dhall') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dhall', 'ftplugin/dhall.vim') finish endif diff --git a/ftplugin/dictconf.vim b/ftplugin/dictconf.vim index 706b4a48..e2d1a785 100644 --- a/ftplugin/dictconf.vim +++ b/ftplugin/dictconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dictconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dictconf', 'ftplugin/dictconf.vim') finish endif diff --git a/ftplugin/dictdconf.vim b/ftplugin/dictdconf.vim index 224ad104..a4e84f12 100644 --- a/ftplugin/dictdconf.vim +++ b/ftplugin/dictdconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dictdconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dictdconf', 'ftplugin/dictdconf.vim') finish endif diff --git a/ftplugin/diff.vim b/ftplugin/diff.vim index 66ec4179..c7d8cefc 100644 --- a/ftplugin/diff.vim +++ b/ftplugin/diff.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'diff') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'diff', 'ftplugin/diff.vim') finish endif diff --git a/ftplugin/dircolors.vim b/ftplugin/dircolors.vim index 207d30ec..9d57e19b 100644 --- a/ftplugin/dircolors.vim +++ b/ftplugin/dircolors.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dircolors') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dircolors', 'ftplugin/dircolors.vim') finish endif diff --git a/ftplugin/docker-compose.vim b/ftplugin/docker-compose.vim index 7d5a1e48..40f8a43f 100644 --- a/ftplugin/docker-compose.vim +++ b/ftplugin/docker-compose.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'docker-compose') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'docker-compose', 'ftplugin/docker-compose.vim') finish endif diff --git a/ftplugin/dockerfile.vim b/ftplugin/dockerfile.vim index f99dd989..5b8052be 100644 --- a/ftplugin/dockerfile.vim +++ b/ftplugin/dockerfile.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dockerfile') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dockerfile', 'ftplugin/dockerfile.vim') finish endif diff --git a/ftplugin/dosbatch.vim b/ftplugin/dosbatch.vim index 25d0676d..bf59baf7 100644 --- a/ftplugin/dosbatch.vim +++ b/ftplugin/dosbatch.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dosbatch') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dosbatch', 'ftplugin/dosbatch.vim') finish endif diff --git a/ftplugin/dosini.vim b/ftplugin/dosini.vim index fbacecc0..fc739a01 100644 --- a/ftplugin/dosini.vim +++ b/ftplugin/dosini.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dosini') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dosini', 'ftplugin/dosini.vim') finish endif diff --git a/ftplugin/dtd.vim b/ftplugin/dtd.vim index 1ceb1b77..783d73b0 100644 --- a/ftplugin/dtd.vim +++ b/ftplugin/dtd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'dtd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'dtd', 'ftplugin/dtd.vim') finish endif diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim index 92c471f4..9d86d0a5 100644 --- a/ftplugin/dune.vim +++ b/ftplugin/dune.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/dune.vim') finish endif diff --git a/ftplugin/ecrystal.vim b/ftplugin/ecrystal.vim index a8c249c0..e5e06949 100644 --- a/ftplugin/ecrystal.vim +++ b/ftplugin/ecrystal.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'crystal') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'ftplugin/ecrystal.vim') finish endif diff --git a/ftplugin/eelixir.vim b/ftplugin/eelixir.vim index cda21c9b..6e1d13fd 100644 --- a/ftplugin/eelixir.vim +++ b/ftplugin/eelixir.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'elixir') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'ftplugin/eelixir.vim') finish endif diff --git a/ftplugin/elinks.vim b/ftplugin/elinks.vim index 7a4c75a5..6d04cfd4 100644 --- a/ftplugin/elinks.vim +++ b/ftplugin/elinks.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'elinks') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'elinks', 'ftplugin/elinks.vim') finish endif diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index 9a273567..4ab896db 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'elixir') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'ftplugin/elixir.vim') finish endif diff --git a/ftplugin/embeddedpuppet.vim b/ftplugin/embeddedpuppet.vim index 4e6a0849..7a2621fb 100644 --- a/ftplugin/embeddedpuppet.vim +++ b/ftplugin/embeddedpuppet.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'puppet') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'ftplugin/embeddedpuppet.vim') finish endif diff --git a/ftplugin/ember-script.vim b/ftplugin/ember-script.vim index d80653e1..62015611 100644 --- a/ftplugin/ember-script.vim +++ b/ftplugin/ember-script.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'emberscript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'emberscript', 'ftplugin/ember-script.vim') finish endif diff --git a/ftplugin/emblem.vim b/ftplugin/emblem.vim index d612566d..54cb4696 100644 --- a/ftplugin/emblem.vim +++ b/ftplugin/emblem.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'emblem') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'emblem', 'ftplugin/emblem.vim') finish endif diff --git a/ftplugin/erlang.vim b/ftplugin/erlang.vim index b9720484..f23ba875 100644 --- a/ftplugin/erlang.vim +++ b/ftplugin/erlang.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'erlang') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'erlang', 'ftplugin/erlang.vim') finish endif diff --git a/ftplugin/eruby.vim b/ftplugin/eruby.vim index 5a7b4ca5..7ea19dea 100644 --- a/ftplugin/eruby.vim +++ b/ftplugin/eruby.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ruby') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'ftplugin/eruby.vim') finish endif diff --git a/ftplugin/eterm.vim b/ftplugin/eterm.vim index 15c3b0e2..313b2478 100644 --- a/ftplugin/eterm.vim +++ b/ftplugin/eterm.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'eterm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'eterm', 'ftplugin/eterm.vim') finish endif diff --git a/ftplugin/falcon.vim b/ftplugin/falcon.vim index 9911b507..5f09b804 100644 --- a/ftplugin/falcon.vim +++ b/ftplugin/falcon.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'falcon') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'falcon', 'ftplugin/falcon.vim') finish endif diff --git a/ftplugin/fennel.vim b/ftplugin/fennel.vim index ac905f27..92b6edea 100644 --- a/ftplugin/fennel.vim +++ b/ftplugin/fennel.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'fennel') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'fennel', 'ftplugin/fennel.vim') finish endif diff --git a/ftplugin/fetchmail.vim b/ftplugin/fetchmail.vim index 63609942..ce8a3cbd 100644 --- a/ftplugin/fetchmail.vim +++ b/ftplugin/fetchmail.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'fetchmail') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'fetchmail', 'ftplugin/fetchmail.vim') finish endif diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim index 19fa5c38..52f75591 100644 --- a/ftplugin/fish.vim +++ b/ftplugin/fish.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'fish') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'fish', 'ftplugin/fish.vim') finish endif diff --git a/ftplugin/fortran.vim b/ftplugin/fortran.vim index fdf77db5..3c2ebc87 100644 --- a/ftplugin/fortran.vim +++ b/ftplugin/fortran.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'fortran') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'fortran', 'ftplugin/fortran.vim') finish endif diff --git a/ftplugin/framescript.vim b/ftplugin/framescript.vim index 5361536d..9ec58b5f 100644 --- a/ftplugin/framescript.vim +++ b/ftplugin/framescript.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'framescript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'framescript', 'ftplugin/framescript.vim') finish endif diff --git a/ftplugin/fvwm.vim b/ftplugin/fvwm.vim index b3f3e135..488fa500 100644 --- a/ftplugin/fvwm.vim +++ b/ftplugin/fvwm.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'fvwm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'fvwm', 'ftplugin/fvwm.vim') finish endif diff --git a/ftplugin/gdb.vim b/ftplugin/gdb.vim index c08787fa..3d3ed103 100644 --- a/ftplugin/gdb.vim +++ b/ftplugin/gdb.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'gdb') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'gdb', 'ftplugin/gdb.vim') finish endif diff --git a/ftplugin/git.vim b/ftplugin/git.vim index d4ffec78..072859ed 100644 --- a/ftplugin/git.vim +++ b/ftplugin/git.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'git') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'git', 'ftplugin/git.vim') finish endif diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim index d6947f32..caa96db8 100644 --- a/ftplugin/gitcommit.vim +++ b/ftplugin/gitcommit.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'git') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'git', 'ftplugin/gitcommit.vim') finish endif diff --git a/ftplugin/gitconfig.vim b/ftplugin/gitconfig.vim index d6017ea5..d8d76240 100644 --- a/ftplugin/gitconfig.vim +++ b/ftplugin/gitconfig.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'git') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'git', 'ftplugin/gitconfig.vim') finish endif diff --git a/ftplugin/gitignore.vim b/ftplugin/gitignore.vim index c58811b0..c2236b75 100644 --- a/ftplugin/gitignore.vim +++ b/ftplugin/gitignore.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'gitignore') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'gitignore', 'ftplugin/gitignore.vim') finish endif diff --git a/ftplugin/gitrebase.vim b/ftplugin/gitrebase.vim index 29bedf43..7163f916 100644 --- a/ftplugin/gitrebase.vim +++ b/ftplugin/gitrebase.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'git') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'git', 'ftplugin/gitrebase.vim') finish endif diff --git a/ftplugin/gitsendemail.vim b/ftplugin/gitsendemail.vim index c30d3657..b6098bd5 100644 --- a/ftplugin/gitsendemail.vim +++ b/ftplugin/gitsendemail.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'git') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'git', 'ftplugin/gitsendemail.vim') finish endif diff --git a/ftplugin/gleam.vim b/ftplugin/gleam.vim index 58f39f03..00ad4d1f 100644 --- a/ftplugin/gleam.vim +++ b/ftplugin/gleam.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'gleam') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'gleam', 'ftplugin/gleam.vim') finish endif diff --git a/ftplugin/gpg.vim b/ftplugin/gpg.vim index f1213d7e..12114584 100644 --- a/ftplugin/gpg.vim +++ b/ftplugin/gpg.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'gpg') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'gpg', 'ftplugin/gpg.vim') finish endif diff --git a/ftplugin/graphql.vim b/ftplugin/graphql.vim index 9b66c5c7..f0615552 100644 --- a/ftplugin/graphql.vim +++ b/ftplugin/graphql.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'graphql') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'ftplugin/graphql.vim') finish endif diff --git a/ftplugin/groovy.vim b/ftplugin/groovy.vim index 93b70aee..5c7c0eef 100644 --- a/ftplugin/groovy.vim +++ b/ftplugin/groovy.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'groovy') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'groovy', 'ftplugin/groovy.vim') finish endif diff --git a/ftplugin/group.vim b/ftplugin/group.vim index 9a6d1e87..52adcb7a 100644 --- a/ftplugin/group.vim +++ b/ftplugin/group.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'group') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'group', 'ftplugin/group.vim') finish endif diff --git a/ftplugin/grub.vim b/ftplugin/grub.vim index d7805a5b..9fedac24 100644 --- a/ftplugin/grub.vim +++ b/ftplugin/grub.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'grub') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'grub', 'ftplugin/grub.vim') finish endif diff --git a/ftplugin/haml.vim b/ftplugin/haml.vim index b747fe68..ec6f249d 100644 --- a/ftplugin/haml.vim +++ b/ftplugin/haml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'haml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'haml', 'ftplugin/haml.vim') finish endif diff --git a/ftplugin/hamster.vim b/ftplugin/hamster.vim index 3bfb9fd9..c72a8657 100644 --- a/ftplugin/hamster.vim +++ b/ftplugin/hamster.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hamster') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hamster', 'ftplugin/hamster.vim') finish endif diff --git a/ftplugin/handlebars.vim b/ftplugin/handlebars.vim index d769f1e5..c548f28f 100644 --- a/ftplugin/handlebars.vim +++ b/ftplugin/handlebars.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'handlebars') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'handlebars', 'ftplugin/handlebars.vim') finish endif diff --git a/ftplugin/hcl.vim b/ftplugin/hcl.vim index 7cd2a8a7..58dc67e4 100644 --- a/ftplugin/hcl.vim +++ b/ftplugin/hcl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hcl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hcl', 'ftplugin/hcl.vim') finish endif diff --git a/ftplugin/help.vim b/ftplugin/help.vim index 47e203fe..7096523a 100644 --- a/ftplugin/help.vim +++ b/ftplugin/help.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'help') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'help', 'ftplugin/help.vim') finish endif diff --git a/ftplugin/hgcommit.vim b/ftplugin/hgcommit.vim index e4d13298..efb5c605 100644 --- a/ftplugin/hgcommit.vim +++ b/ftplugin/hgcommit.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hgcommit') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hgcommit', 'ftplugin/hgcommit.vim') finish endif diff --git a/ftplugin/hive.vim b/ftplugin/hive.vim index dd1b8445..fdd95d01 100644 --- a/ftplugin/hive.vim +++ b/ftplugin/hive.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hive') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hive', 'ftplugin/hive.vim') finish endif diff --git a/ftplugin/hog.vim b/ftplugin/hog.vim index b3844023..046f7a3a 100644 --- a/ftplugin/hog.vim +++ b/ftplugin/hog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hog', 'ftplugin/hog.vim') finish endif diff --git a/ftplugin/hostconf.vim b/ftplugin/hostconf.vim index 56c67899..a2625b1f 100644 --- a/ftplugin/hostconf.vim +++ b/ftplugin/hostconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hostconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hostconf', 'ftplugin/hostconf.vim') finish endif diff --git a/ftplugin/hostsaccess.vim b/ftplugin/hostsaccess.vim index 312b9145..c731c8ae 100644 --- a/ftplugin/hostsaccess.vim +++ b/ftplugin/hostsaccess.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'hostsaccess') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'hostsaccess', 'ftplugin/hostsaccess.vim') finish endif diff --git a/ftplugin/html.vim b/ftplugin/html.vim index 5ec0bb22..7664383b 100644 --- a/ftplugin/html.vim +++ b/ftplugin/html.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'html') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'html', 'ftplugin/html.vim') finish endif diff --git a/ftplugin/htmldjango.vim b/ftplugin/htmldjango.vim index a8b23cd4..41d992d8 100644 --- a/ftplugin/htmldjango.vim +++ b/ftplugin/htmldjango.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'htmldjango') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'htmldjango', 'ftplugin/htmldjango.vim') finish endif diff --git a/ftplugin/i3config.vim b/ftplugin/i3config.vim index 80e63b01..6fb69a18 100644 --- a/ftplugin/i3config.vim +++ b/ftplugin/i3config.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'i3') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'i3', 'ftplugin/i3config.vim') finish endif diff --git a/ftplugin/idris.vim b/ftplugin/idris.vim index 05d7a1af..eb023f48 100644 --- a/ftplugin/idris.vim +++ b/ftplugin/idris.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'idris') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris', 'ftplugin/idris.vim') finish endif diff --git a/ftplugin/idris2.vim b/ftplugin/idris2.vim index 9a09fada..d3fa7bc9 100644 --- a/ftplugin/idris2.vim +++ b/ftplugin/idris2.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'idris2') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris2', 'ftplugin/idris2.vim') finish endif diff --git a/ftplugin/indent.vim b/ftplugin/indent.vim index 0c0b4311..89a779c4 100644 --- a/ftplugin/indent.vim +++ b/ftplugin/indent.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'indent') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'indent', 'ftplugin/indent.vim') finish endif diff --git a/ftplugin/ion.vim b/ftplugin/ion.vim index 8bf4a19a..6f2c1ce2 100644 --- a/ftplugin/ion.vim +++ b/ftplugin/ion.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ion') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ion', 'ftplugin/ion.vim') finish endif diff --git a/ftplugin/j.vim b/ftplugin/j.vim index 78df3a37..1fd01161 100644 --- a/ftplugin/j.vim +++ b/ftplugin/j.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'j') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'j', 'ftplugin/j.vim') finish endif diff --git a/ftplugin/java.vim b/ftplugin/java.vim index c5001786..c94ff1fa 100644 --- a/ftplugin/java.vim +++ b/ftplugin/java.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'java') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'java', 'ftplugin/java.vim') finish endif diff --git a/ftplugin/jproperties.vim b/ftplugin/jproperties.vim index 6860366e..9d3076ab 100644 --- a/ftplugin/jproperties.vim +++ b/ftplugin/jproperties.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'jproperties') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'jproperties', 'ftplugin/jproperties.vim') finish endif diff --git a/ftplugin/jq.vim b/ftplugin/jq.vim index 30c3c99e..f2c14aff 100644 --- a/ftplugin/jq.vim +++ b/ftplugin/jq.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'jq') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'jq', 'ftplugin/jq.vim') finish endif diff --git a/ftplugin/json.vim b/ftplugin/json.vim index 5c09f13d..ed4bd8ba 100644 --- a/ftplugin/json.vim +++ b/ftplugin/json.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'json') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'json', 'ftplugin/json.vim') finish endif diff --git a/ftplugin/jsonnet.vim b/ftplugin/jsonnet.vim index 781965e5..500787a0 100644 --- a/ftplugin/jsonnet.vim +++ b/ftplugin/jsonnet.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'jsonnet') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsonnet', 'ftplugin/jsonnet.vim') finish endif diff --git a/ftplugin/jsp.vim b/ftplugin/jsp.vim index 6ee9329e..353cecfd 100644 --- a/ftplugin/jsp.vim +++ b/ftplugin/jsp.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'jsp') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsp', 'ftplugin/jsp.vim') finish endif diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index e507dcab..618e16d8 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'julia') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'ftplugin/julia.vim') finish endif diff --git a/ftplugin/juliadoc.vim b/ftplugin/juliadoc.vim index 0ae6deb4..5b80149c 100644 --- a/ftplugin/juliadoc.vim +++ b/ftplugin/juliadoc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'julia') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'ftplugin/juliadoc.vim') finish endif diff --git a/ftplugin/kconfig.vim b/ftplugin/kconfig.vim index a9a5201f..836a7b88 100644 --- a/ftplugin/kconfig.vim +++ b/ftplugin/kconfig.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'kconfig') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'kconfig', 'ftplugin/kconfig.vim') finish endif diff --git a/ftplugin/kotlin.vim b/ftplugin/kotlin.vim index b5345bfc..e06ce043 100644 --- a/ftplugin/kotlin.vim +++ b/ftplugin/kotlin.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'kotlin') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'kotlin', 'ftplugin/kotlin.vim') finish endif diff --git a/ftplugin/kwt.vim b/ftplugin/kwt.vim index ec369046..f173ce33 100644 --- a/ftplugin/kwt.vim +++ b/ftplugin/kwt.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'kwt') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'kwt', 'ftplugin/kwt.vim') finish endif diff --git a/ftplugin/ld.vim b/ftplugin/ld.vim index d9bc8d46..41c72680 100644 --- a/ftplugin/ld.vim +++ b/ftplugin/ld.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ld') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ld', 'ftplugin/ld.vim') finish endif diff --git a/ftplugin/less.vim b/ftplugin/less.vim index c5fc4c50..ca6ce7db 100644 --- a/ftplugin/less.vim +++ b/ftplugin/less.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'less') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'less', 'ftplugin/less.vim') finish endif diff --git a/ftplugin/lftp.vim b/ftplugin/lftp.vim index 23e1fe59..00ab99d2 100644 --- a/ftplugin/lftp.vim +++ b/ftplugin/lftp.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'lftp') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'lftp', 'ftplugin/lftp.vim') finish endif diff --git a/ftplugin/libao.vim b/ftplugin/libao.vim index 48073e7e..0be39f2e 100644 --- a/ftplugin/libao.vim +++ b/ftplugin/libao.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'libao') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'libao', 'ftplugin/libao.vim') finish endif diff --git a/ftplugin/lilypond.vim b/ftplugin/lilypond.vim index 3f4f9c78..ed2d1cdb 100644 --- a/ftplugin/lilypond.vim +++ b/ftplugin/lilypond.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'lilypond') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'lilypond', 'ftplugin/lilypond.vim') finish endif diff --git a/ftplugin/limits.vim b/ftplugin/limits.vim index 316abdd0..f5c80eb6 100644 --- a/ftplugin/limits.vim +++ b/ftplugin/limits.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'limits') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'limits', 'ftplugin/limits.vim') finish endif diff --git a/ftplugin/liquid.vim b/ftplugin/liquid.vim index 4d181349..2b7f92fc 100644 --- a/ftplugin/liquid.vim +++ b/ftplugin/liquid.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'liquid') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'liquid', 'ftplugin/liquid.vim') finish endif diff --git a/ftplugin/lisp.vim b/ftplugin/lisp.vim index 838139b0..365a26b8 100644 --- a/ftplugin/lisp.vim +++ b/ftplugin/lisp.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'lisp') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'lisp', 'ftplugin/lisp.vim') finish endif diff --git a/ftplugin/litcoffee.vim b/ftplugin/litcoffee.vim index d9bd72dc..08eddc18 100644 --- a/ftplugin/litcoffee.vim +++ b/ftplugin/litcoffee.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'coffee-script') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'ftplugin/litcoffee.vim') finish endif diff --git a/ftplugin/llvm.vim b/ftplugin/llvm.vim index 19cab5d2..1b20c7cc 100644 --- a/ftplugin/llvm.vim +++ b/ftplugin/llvm.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'llvm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'ftplugin/llvm.vim') finish endif diff --git a/ftplugin/logcheck.vim b/ftplugin/logcheck.vim index 3ad3567c..eb4af4cc 100644 --- a/ftplugin/logcheck.vim +++ b/ftplugin/logcheck.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'logcheck') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'logcheck', 'ftplugin/logcheck.vim') finish endif diff --git a/ftplugin/loginaccess.vim b/ftplugin/loginaccess.vim index e4cf1edd..c7150d49 100644 --- a/ftplugin/loginaccess.vim +++ b/ftplugin/loginaccess.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'loginaccess') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'loginaccess', 'ftplugin/loginaccess.vim') finish endif diff --git a/ftplugin/logindefs.vim b/ftplugin/logindefs.vim index 15bb751a..d2e0b4eb 100644 --- a/ftplugin/logindefs.vim +++ b/ftplugin/logindefs.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'logindefs') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'logindefs', 'ftplugin/logindefs.vim') finish endif diff --git a/ftplugin/logtalk.vim b/ftplugin/logtalk.vim index 56e883d7..6d4f129a 100644 --- a/ftplugin/logtalk.vim +++ b/ftplugin/logtalk.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'logtalk') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'logtalk', 'ftplugin/logtalk.vim') finish endif diff --git a/ftplugin/lprolog.vim b/ftplugin/lprolog.vim index e1e7e3e6..d8804cef 100644 --- a/ftplugin/lprolog.vim +++ b/ftplugin/lprolog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'lprolog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'lprolog', 'ftplugin/lprolog.vim') finish endif diff --git a/ftplugin/ls.vim b/ftplugin/ls.vim index 425bb6f6..9808b919 100644 --- a/ftplugin/ls.vim +++ b/ftplugin/ls.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'livescript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'livescript', 'ftplugin/ls.vim') finish endif diff --git a/ftplugin/m4.vim b/ftplugin/m4.vim index 538e0885..1efcacf3 100644 --- a/ftplugin/m4.vim +++ b/ftplugin/m4.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'm4') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'm4', 'ftplugin/m4.vim') finish endif diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim index 4c8c1600..6e4e9a4f 100644 --- a/ftplugin/mail.vim +++ b/ftplugin/mail.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mail') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mail', 'ftplugin/mail.vim') finish endif diff --git a/ftplugin/mailaliases.vim b/ftplugin/mailaliases.vim index 01d2b653..4db6e3c1 100644 --- a/ftplugin/mailaliases.vim +++ b/ftplugin/mailaliases.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mailaliases') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mailaliases', 'ftplugin/mailaliases.vim') finish endif diff --git a/ftplugin/mailcap.vim b/ftplugin/mailcap.vim index 641d9939..1c435630 100644 --- a/ftplugin/mailcap.vim +++ b/ftplugin/mailcap.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mailcap') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mailcap', 'ftplugin/mailcap.vim') finish endif diff --git a/ftplugin/make.vim b/ftplugin/make.vim index ee4157f1..42b45700 100644 --- a/ftplugin/make.vim +++ b/ftplugin/make.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'make') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'make', 'ftplugin/make.vim') finish endif diff --git a/ftplugin/mako.vim b/ftplugin/mako.vim index 6496d659..4ff58f34 100644 --- a/ftplugin/mako.vim +++ b/ftplugin/mako.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mako') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mako', 'ftplugin/mako.vim') finish endif diff --git a/ftplugin/manconf.vim b/ftplugin/manconf.vim index ff87f8bf..daca7be1 100644 --- a/ftplugin/manconf.vim +++ b/ftplugin/manconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'manconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'manconf', 'ftplugin/manconf.vim') finish endif diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index a334d1d9..cb5edc8d 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'markdown') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'markdown', 'ftplugin/markdown.vim') finish endif diff --git a/ftplugin/meson.vim b/ftplugin/meson.vim index 6753a8a9..6074dbd3 100644 --- a/ftplugin/meson.vim +++ b/ftplugin/meson.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'meson') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'meson', 'ftplugin/meson.vim') finish endif diff --git a/ftplugin/mf.vim b/ftplugin/mf.vim index cdb644c8..26704968 100644 --- a/ftplugin/mf.vim +++ b/ftplugin/mf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mf', 'ftplugin/mf.vim') finish endif diff --git a/ftplugin/mma.vim b/ftplugin/mma.vim index e9c91dc0..dffaa211 100644 --- a/ftplugin/mma.vim +++ b/ftplugin/mma.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mathematica') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mathematica', 'ftplugin/mma.vim') finish endif diff --git a/ftplugin/modconf.vim b/ftplugin/modconf.vim index c8f8f5e2..cca93104 100644 --- a/ftplugin/modconf.vim +++ b/ftplugin/modconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'modconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'modconf', 'ftplugin/modconf.vim') finish endif diff --git a/ftplugin/moon.vim b/ftplugin/moon.vim index ab70250a..86e63c44 100644 --- a/ftplugin/moon.vim +++ b/ftplugin/moon.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'moonscript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'moonscript', 'ftplugin/moon.vim') finish endif diff --git a/ftplugin/mp.vim b/ftplugin/mp.vim index ea33ddda..a379d6e0 100644 --- a/ftplugin/mp.vim +++ b/ftplugin/mp.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mp') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mp', 'ftplugin/mp.vim') finish endif diff --git a/ftplugin/mplayerconf.vim b/ftplugin/mplayerconf.vim index 7e7b63b0..22bd2874 100644 --- a/ftplugin/mplayerconf.vim +++ b/ftplugin/mplayerconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mplayerconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mplayerconf', 'ftplugin/mplayerconf.vim') finish endif diff --git a/ftplugin/mrxvtrc.vim b/ftplugin/mrxvtrc.vim index a5af89f4..71c9c17d 100644 --- a/ftplugin/mrxvtrc.vim +++ b/ftplugin/mrxvtrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'mrxvtrc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'mrxvtrc', 'ftplugin/mrxvtrc.vim') finish endif diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim index 5bed7ac3..92b97891 100644 --- a/ftplugin/mustache.vim +++ b/ftplugin/mustache.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'handlebars') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'handlebars', 'ftplugin/mustache.vim') finish endif diff --git a/ftplugin/muttrc.vim b/ftplugin/muttrc.vim index 320c7463..82c783ce 100644 --- a/ftplugin/muttrc.vim +++ b/ftplugin/muttrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'muttrc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'muttrc', 'ftplugin/muttrc.vim') finish endif diff --git a/ftplugin/nanorc.vim b/ftplugin/nanorc.vim index 0812ebf5..2ee97369 100644 --- a/ftplugin/nanorc.vim +++ b/ftplugin/nanorc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'nanorc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'nanorc', 'ftplugin/nanorc.vim') finish endif diff --git a/ftplugin/neomuttrc.vim b/ftplugin/neomuttrc.vim index 5488c255..a5a19ac2 100644 --- a/ftplugin/neomuttrc.vim +++ b/ftplugin/neomuttrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'neomuttrc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'neomuttrc', 'ftplugin/neomuttrc.vim') finish endif diff --git a/ftplugin/netrc.vim b/ftplugin/netrc.vim index db858772..55cee784 100644 --- a/ftplugin/netrc.vim +++ b/ftplugin/netrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'netrc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'netrc', 'ftplugin/netrc.vim') finish endif diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim index 39ff7a5d..45442242 100644 --- a/ftplugin/nginx.vim +++ b/ftplugin/nginx.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'nginx') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'nginx', 'ftplugin/nginx.vim') finish endif diff --git a/ftplugin/nix.vim b/ftplugin/nix.vim index 457f4443..75bbd1a4 100644 --- a/ftplugin/nix.vim +++ b/ftplugin/nix.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'nix') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'nix', 'ftplugin/nix.vim') finish endif diff --git a/ftplugin/nroff.vim b/ftplugin/nroff.vim index ac3dce4d..967b358f 100644 --- a/ftplugin/nroff.vim +++ b/ftplugin/nroff.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'nroff') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'nroff', 'ftplugin/nroff.vim') finish endif diff --git a/ftplugin/nsis.vim b/ftplugin/nsis.vim index 833259f3..ab54e5d3 100644 --- a/ftplugin/nsis.vim +++ b/ftplugin/nsis.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'nsis') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'nsis', 'ftplugin/nsis.vim') finish endif diff --git a/ftplugin/oasis.vim b/ftplugin/oasis.vim index 6dfe76ad..ad7dd1a5 100644 --- a/ftplugin/oasis.vim +++ b/ftplugin/oasis.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/oasis.vim') finish endif diff --git a/ftplugin/objc.vim b/ftplugin/objc.vim index 906ae2bf..4e47eedd 100644 --- a/ftplugin/objc.vim +++ b/ftplugin/objc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'objc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'objc', 'ftplugin/objc.vim') finish endif diff --git a/ftplugin/ocaml.vim b/ftplugin/ocaml.vim index 84be233e..6babcef8 100644 --- a/ftplugin/ocaml.vim +++ b/ftplugin/ocaml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/ocaml.vim') finish endif diff --git a/ftplugin/ocamlbuild_tags.vim b/ftplugin/ocamlbuild_tags.vim index 6dfe76ad..5e83406d 100644 --- a/ftplugin/ocamlbuild_tags.vim +++ b/ftplugin/ocamlbuild_tags.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/ocamlbuild_tags.vim') finish endif diff --git a/ftplugin/occam.vim b/ftplugin/occam.vim index 3f5992b9..ea4973d0 100644 --- a/ftplugin/occam.vim +++ b/ftplugin/occam.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'occam') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'occam', 'ftplugin/occam.vim') finish endif diff --git a/ftplugin/omake.vim b/ftplugin/omake.vim index 73cc17ae..59e11101 100644 --- a/ftplugin/omake.vim +++ b/ftplugin/omake.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/omake.vim') finish endif diff --git a/ftplugin/opencl.vim b/ftplugin/opencl.vim index 9beac952..03bca6b9 100644 --- a/ftplugin/opencl.vim +++ b/ftplugin/opencl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'opencl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'opencl', 'ftplugin/opencl.vim') finish endif diff --git a/ftplugin/pamconf.vim b/ftplugin/pamconf.vim index 1d3344c9..fcaa87d4 100644 --- a/ftplugin/pamconf.vim +++ b/ftplugin/pamconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pamconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pamconf', 'ftplugin/pamconf.vim') finish endif diff --git a/ftplugin/pascal.vim b/ftplugin/pascal.vim index ec8581d7..db3da051 100644 --- a/ftplugin/pascal.vim +++ b/ftplugin/pascal.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pascal') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pascal', 'ftplugin/pascal.vim') finish endif diff --git a/ftplugin/passwd.vim b/ftplugin/passwd.vim index a4bfaf92..d36ba53a 100644 --- a/ftplugin/passwd.vim +++ b/ftplugin/passwd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'passwd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'passwd', 'ftplugin/passwd.vim') finish endif diff --git a/ftplugin/pdf.vim b/ftplugin/pdf.vim index fec98a68..c36cc19b 100644 --- a/ftplugin/pdf.vim +++ b/ftplugin/pdf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pdf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pdf', 'ftplugin/pdf.vim') finish endif diff --git a/ftplugin/perl.vim b/ftplugin/perl.vim index 7c8ff3bc..a0e54a05 100644 --- a/ftplugin/perl.vim +++ b/ftplugin/perl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'perl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'perl', 'ftplugin/perl.vim') finish endif diff --git a/ftplugin/pest.vim b/ftplugin/pest.vim index 09ad3583..b3a1c374 100644 --- a/ftplugin/pest.vim +++ b/ftplugin/pest.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pest') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pest', 'ftplugin/pest.vim') finish endif diff --git a/ftplugin/pinfo.vim b/ftplugin/pinfo.vim index a32382a1..d81b88c9 100644 --- a/ftplugin/pinfo.vim +++ b/ftplugin/pinfo.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pinfo') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pinfo', 'ftplugin/pinfo.vim') finish endif diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim index 8f0449e7..9f525dc3 100644 --- a/ftplugin/plantuml.vim +++ b/ftplugin/plantuml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'plantuml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'plantuml', 'ftplugin/plantuml.vim') finish endif diff --git a/ftplugin/pony.vim b/ftplugin/pony.vim index 03f94cc3..901109f0 100644 --- a/ftplugin/pony.vim +++ b/ftplugin/pony.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pony') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pony', 'ftplugin/pony.vim') finish endif diff --git a/ftplugin/postscr.vim b/ftplugin/postscr.vim index be2d347c..614898fc 100644 --- a/ftplugin/postscr.vim +++ b/ftplugin/postscr.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'postscr') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'postscr', 'ftplugin/postscr.vim') finish endif diff --git a/ftplugin/procmail.vim b/ftplugin/procmail.vim index ee9ea710..b1e25b78 100644 --- a/ftplugin/procmail.vim +++ b/ftplugin/procmail.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'procmail') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'procmail', 'ftplugin/procmail.vim') finish endif diff --git a/ftplugin/prolog.vim b/ftplugin/prolog.vim index 56d17127..785cf7ff 100644 --- a/ftplugin/prolog.vim +++ b/ftplugin/prolog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'prolog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'prolog', 'ftplugin/prolog.vim') finish endif diff --git a/ftplugin/protocols.vim b/ftplugin/protocols.vim index 22cd52b3..ac62f693 100644 --- a/ftplugin/protocols.vim +++ b/ftplugin/protocols.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'protocols') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'protocols', 'ftplugin/protocols.vim') finish endif diff --git a/ftplugin/ps1.vim b/ftplugin/ps1.vim index b88077d1..e7c1a853 100644 --- a/ftplugin/ps1.vim +++ b/ftplugin/ps1.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'powershell') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'powershell', 'ftplugin/ps1.vim') finish endif diff --git a/ftplugin/ps1xml.vim b/ftplugin/ps1xml.vim index 4bd65c44..50ac3733 100644 --- a/ftplugin/ps1xml.vim +++ b/ftplugin/ps1xml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'powershell') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'powershell', 'ftplugin/ps1xml.vim') finish endif diff --git a/ftplugin/pug.vim b/ftplugin/pug.vim index 8613bf4e..74d91afd 100644 --- a/ftplugin/pug.vim +++ b/ftplugin/pug.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pug') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pug', 'ftplugin/pug.vim') finish endif diff --git a/ftplugin/puppet.vim b/ftplugin/puppet.vim index cd936ae4..0d461238 100644 --- a/ftplugin/puppet.vim +++ b/ftplugin/puppet.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'puppet') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'ftplugin/puppet.vim') finish endif diff --git a/ftplugin/puppet_tagbar.vim b/ftplugin/puppet_tagbar.vim index afdbad6f..4e87669e 100644 --- a/ftplugin/puppet_tagbar.vim +++ b/ftplugin/puppet_tagbar.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'puppet') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'ftplugin/puppet_tagbar.vim') finish endif diff --git a/ftplugin/purescript.vim b/ftplugin/purescript.vim index 1a43b333..6097b02a 100644 --- a/ftplugin/purescript.vim +++ b/ftplugin/purescript.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'purescript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'purescript', 'ftplugin/purescript.vim') finish endif diff --git a/ftplugin/pyrex.vim b/ftplugin/pyrex.vim index f312251e..9ea0af52 100644 --- a/ftplugin/pyrex.vim +++ b/ftplugin/pyrex.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'pyrex') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'pyrex', 'ftplugin/pyrex.vim') finish endif diff --git a/ftplugin/qml.vim b/ftplugin/qml.vim index 5184074a..fed105a3 100644 --- a/ftplugin/qml.vim +++ b/ftplugin/qml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'qml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'qml', 'ftplugin/qml.vim') finish endif diff --git a/ftplugin/quake.vim b/ftplugin/quake.vim index 621b71f7..78f8eec8 100644 --- a/ftplugin/quake.vim +++ b/ftplugin/quake.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'quake') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'quake', 'ftplugin/quake.vim') finish endif diff --git a/ftplugin/racket.vim b/ftplugin/racket.vim index 06899bd1..8dd74d7f 100644 --- a/ftplugin/racket.vim +++ b/ftplugin/racket.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'racket') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'racket', 'ftplugin/racket.vim') finish endif diff --git a/ftplugin/raku.vim b/ftplugin/raku.vim index 4805a5c7..423dd786 100644 --- a/ftplugin/raku.vim +++ b/ftplugin/raku.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'raku') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'raku', 'ftplugin/raku.vim') finish endif diff --git a/ftplugin/raml.vim b/ftplugin/raml.vim index 3006f04a..53e1ecbc 100644 --- a/ftplugin/raml.vim +++ b/ftplugin/raml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'raml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'raml', 'ftplugin/raml.vim') finish endif diff --git a/ftplugin/razor.vim b/ftplugin/razor.vim index a7e62b6c..e1afeec3 100644 --- a/ftplugin/razor.vim +++ b/ftplugin/razor.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'razor') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'razor', 'ftplugin/razor.vim') finish endif diff --git a/ftplugin/readline.vim b/ftplugin/readline.vim index 21d0eb01..67e9f288 100644 --- a/ftplugin/readline.vim +++ b/ftplugin/readline.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'readline') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'readline', 'ftplugin/readline.vim') finish endif diff --git a/ftplugin/reva.vim b/ftplugin/reva.vim index b172720d..84534842 100644 --- a/ftplugin/reva.vim +++ b/ftplugin/reva.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'reva') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'reva', 'ftplugin/reva.vim') finish endif diff --git a/ftplugin/rmd.vim b/ftplugin/rmd.vim index bba9116f..c2fe0c2b 100644 --- a/ftplugin/rmd.vim +++ b/ftplugin/rmd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rmd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rmd', 'ftplugin/rmd.vim') finish endif diff --git a/ftplugin/rnc.vim b/ftplugin/rnc.vim index ba50c0d0..aacdfc1f 100644 --- a/ftplugin/rnc.vim +++ b/ftplugin/rnc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rnc') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rnc', 'ftplugin/rnc.vim') finish endif diff --git a/ftplugin/rnoweb.vim b/ftplugin/rnoweb.vim index f7532ac9..13b68ef7 100644 --- a/ftplugin/rnoweb.vim +++ b/ftplugin/rnoweb.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rnoweb') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rnoweb', 'ftplugin/rnoweb.vim') finish endif diff --git a/ftplugin/rpl.vim b/ftplugin/rpl.vim index 6cd1d575..3d2d98d3 100644 --- a/ftplugin/rpl.vim +++ b/ftplugin/rpl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rpl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rpl', 'ftplugin/rpl.vim') finish endif diff --git a/ftplugin/rrst.vim b/ftplugin/rrst.vim index 98784843..68661a65 100644 --- a/ftplugin/rrst.vim +++ b/ftplugin/rrst.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rrst') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rrst', 'ftplugin/rrst.vim') finish endif diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim index ffb5e8ff..7c4a82a6 100644 --- a/ftplugin/rst.vim +++ b/ftplugin/rst.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rst') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rst', 'ftplugin/rst.vim') finish endif diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index 6edeab38..1c6f828f 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ruby') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'ftplugin/ruby.vim') finish endif diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim index c2256090..a131a1d1 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rust') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'ftplugin/rust.vim') finish endif diff --git a/ftplugin/rust/tagbar.vim b/ftplugin/rust/tagbar.vim index 0a020ed7..32a0564c 100644 --- a/ftplugin/rust/tagbar.vim +++ b/ftplugin/rust/tagbar.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'rust') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'ftplugin/rust/tagbar.vim') finish endif diff --git a/ftplugin/sass.vim b/ftplugin/sass.vim index 166c651b..be0ef93c 100644 --- a/ftplugin/sass.vim +++ b/ftplugin/sass.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sass') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sass', 'ftplugin/sass.vim') finish endif diff --git a/ftplugin/sbt.vim b/ftplugin/sbt.vim index 73df97ca..95b01520 100644 --- a/ftplugin/sbt.vim +++ b/ftplugin/sbt.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sbt') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sbt', 'ftplugin/sbt.vim') finish endif diff --git a/ftplugin/scala.vim b/ftplugin/scala.vim index 61d799de..4b633849 100644 --- a/ftplugin/scala.vim +++ b/ftplugin/scala.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'scala') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'ftplugin/scala.vim') finish endif diff --git a/ftplugin/scala.xpt.vim b/ftplugin/scala.xpt.vim index 900aaaea..db0d08fe 100644 --- a/ftplugin/scala.xpt.vim +++ b/ftplugin/scala.xpt.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'scala') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'ftplugin/scala.xpt.vim') finish endif diff --git a/ftplugin/scala/tagbar.vim b/ftplugin/scala/tagbar.vim index 9ec4164d..d50c7783 100644 --- a/ftplugin/scala/tagbar.vim +++ b/ftplugin/scala/tagbar.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'scala') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'ftplugin/scala/tagbar.vim') finish endif diff --git a/ftplugin/scheme.vim b/ftplugin/scheme.vim index 8b7ebd86..a5506d3a 100644 --- a/ftplugin/scheme.vim +++ b/ftplugin/scheme.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'scheme') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'scheme', 'ftplugin/scheme.vim') finish endif diff --git a/ftplugin/screen.vim b/ftplugin/screen.vim index 7ce75fd9..51ff65cc 100644 --- a/ftplugin/screen.vim +++ b/ftplugin/screen.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'screen') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'screen', 'ftplugin/screen.vim') finish endif diff --git a/ftplugin/scss.vim b/ftplugin/scss.vim index a8031454..14e024fe 100644 --- a/ftplugin/scss.vim +++ b/ftplugin/scss.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'scss') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'scss', 'ftplugin/scss.vim') finish endif diff --git a/ftplugin/sensors.vim b/ftplugin/sensors.vim index 50a54a10..778b9a3d 100644 --- a/ftplugin/sensors.vim +++ b/ftplugin/sensors.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sensors') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sensors', 'ftplugin/sensors.vim') finish endif diff --git a/ftplugin/services.vim b/ftplugin/services.vim index 3889c46e..ea86defb 100644 --- a/ftplugin/services.vim +++ b/ftplugin/services.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'services') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'services', 'ftplugin/services.vim') finish endif diff --git a/ftplugin/setserial.vim b/ftplugin/setserial.vim index d1651344..b1ccf991 100644 --- a/ftplugin/setserial.vim +++ b/ftplugin/setserial.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'setserial') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'setserial', 'ftplugin/setserial.vim') finish endif diff --git a/ftplugin/sexplib.vim b/ftplugin/sexplib.vim index 7b36d631..d98f2d15 100644 --- a/ftplugin/sexplib.vim +++ b/ftplugin/sexplib.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'ocaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/sexplib.vim') finish endif diff --git a/ftplugin/sieve.vim b/ftplugin/sieve.vim index f4f4457c..11de9701 100644 --- a/ftplugin/sieve.vim +++ b/ftplugin/sieve.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sieve') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sieve', 'ftplugin/sieve.vim') finish endif diff --git a/ftplugin/slim.vim b/ftplugin/slim.vim index 0456fcb6..022397e5 100644 --- a/ftplugin/slim.vim +++ b/ftplugin/slim.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'slim') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'slim', 'ftplugin/slim.vim') finish endif diff --git a/ftplugin/slpconf.vim b/ftplugin/slpconf.vim index d23a123c..c8b47e9c 100644 --- a/ftplugin/slpconf.vim +++ b/ftplugin/slpconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'slpconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'slpconf', 'ftplugin/slpconf.vim') finish endif diff --git a/ftplugin/slpreg.vim b/ftplugin/slpreg.vim index f43279d6..7c986b6a 100644 --- a/ftplugin/slpreg.vim +++ b/ftplugin/slpreg.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'slpreg') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'slpreg', 'ftplugin/slpreg.vim') finish endif diff --git a/ftplugin/slpspi.vim b/ftplugin/slpspi.vim index eb87fb69..e7d80197 100644 --- a/ftplugin/slpspi.vim +++ b/ftplugin/slpspi.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'slpspi') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'slpspi', 'ftplugin/slpspi.vim') finish endif diff --git a/ftplugin/smt2.vim b/ftplugin/smt2.vim index 2ba33b9e..d6cfa5ec 100644 --- a/ftplugin/smt2.vim +++ b/ftplugin/smt2.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'smt2') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'smt2', 'ftplugin/smt2.vim') finish endif diff --git a/ftplugin/solidity.vim b/ftplugin/solidity.vim index d5f2903d..f081a7dd 100644 --- a/ftplugin/solidity.vim +++ b/ftplugin/solidity.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'solidity') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'solidity', 'ftplugin/solidity.vim') finish endif diff --git a/ftplugin/spec.vim b/ftplugin/spec.vim index fad900f9..a86610cf 100644 --- a/ftplugin/spec.vim +++ b/ftplugin/spec.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'spec') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'spec', 'ftplugin/spec.vim') finish endif diff --git a/ftplugin/sql.vim b/ftplugin/sql.vim index 22d92699..578d4ab0 100644 --- a/ftplugin/sql.vim +++ b/ftplugin/sql.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sql') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sql', 'ftplugin/sql.vim') finish endif diff --git a/ftplugin/sshconfig.vim b/ftplugin/sshconfig.vim index 6198240a..6e0ede21 100644 --- a/ftplugin/sshconfig.vim +++ b/ftplugin/sshconfig.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sshconfig') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sshconfig', 'ftplugin/sshconfig.vim') finish endif diff --git a/ftplugin/stylus.vim b/ftplugin/stylus.vim index d0b49d36..e24bea01 100644 --- a/ftplugin/stylus.vim +++ b/ftplugin/stylus.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'stylus') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'stylus', 'ftplugin/stylus.vim') finish endif diff --git a/ftplugin/sudoers.vim b/ftplugin/sudoers.vim index db3012c9..45aa0763 100644 --- a/ftplugin/sudoers.vim +++ b/ftplugin/sudoers.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sudoers') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sudoers', 'ftplugin/sudoers.vim') finish endif diff --git a/ftplugin/svelte.vim b/ftplugin/svelte.vim index 977ee905..cf32ef5b 100644 --- a/ftplugin/svelte.vim +++ b/ftplugin/svelte.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'svelte') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'svelte', 'ftplugin/svelte.vim') finish endif diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim index e09ff832..f670b7c4 100644 --- a/ftplugin/swift.vim +++ b/ftplugin/swift.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'swift') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'swift', 'ftplugin/swift.vim') finish endif diff --git a/ftplugin/swiftgyb.vim b/ftplugin/swiftgyb.vim index 3684574e..46a87ecb 100644 --- a/ftplugin/swiftgyb.vim +++ b/ftplugin/swiftgyb.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'swiftgyb') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'swiftgyb', 'ftplugin/swiftgyb.vim') finish endif diff --git a/ftplugin/sxhkdrc.vim b/ftplugin/sxhkdrc.vim index 4814c5c1..b58baa1f 100644 --- a/ftplugin/sxhkdrc.vim +++ b/ftplugin/sxhkdrc.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sxhkd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sxhkd', 'ftplugin/sxhkdrc.vim') finish endif diff --git a/ftplugin/sysctl.vim b/ftplugin/sysctl.vim index b70f590a..bcddd17e 100644 --- a/ftplugin/sysctl.vim +++ b/ftplugin/sysctl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'sysctl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'sysctl', 'ftplugin/sysctl.vim') finish endif diff --git a/ftplugin/systemd.vim b/ftplugin/systemd.vim index 1479f683..f6500b14 100644 --- a/ftplugin/systemd.vim +++ b/ftplugin/systemd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'systemd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'systemd', 'ftplugin/systemd.vim') finish endif diff --git a/ftplugin/systemverilog.vim b/ftplugin/systemverilog.vim index f2df69e0..c0959e48 100644 --- a/ftplugin/systemverilog.vim +++ b/ftplugin/systemverilog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'systemverilog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'systemverilog', 'ftplugin/systemverilog.vim') finish endif diff --git a/ftplugin/tablegen.vim b/ftplugin/tablegen.vim index 1796d2d5..e3490178 100644 --- a/ftplugin/tablegen.vim +++ b/ftplugin/tablegen.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'llvm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'ftplugin/tablegen.vim') finish endif diff --git a/ftplugin/tcl.vim b/ftplugin/tcl.vim index a70cfc27..c57c5623 100644 --- a/ftplugin/tcl.vim +++ b/ftplugin/tcl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'tcl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'tcl', 'ftplugin/tcl.vim') finish endif diff --git a/ftplugin/terminfo.vim b/ftplugin/terminfo.vim index 3ea64a55..9f928eae 100644 --- a/ftplugin/terminfo.vim +++ b/ftplugin/terminfo.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'terminfo') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'terminfo', 'ftplugin/terminfo.vim') finish endif diff --git a/ftplugin/terraform.vim b/ftplugin/terraform.vim index 0ef25d30..36b42dbc 100644 --- a/ftplugin/terraform.vim +++ b/ftplugin/terraform.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'terraform') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'terraform', 'ftplugin/terraform.vim') finish endif diff --git a/ftplugin/text.vim b/ftplugin/text.vim index 7ec4d83f..1c7a2edb 100644 --- a/ftplugin/text.vim +++ b/ftplugin/text.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'text') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'text', 'ftplugin/text.vim') finish endif diff --git a/ftplugin/textile.vim b/ftplugin/textile.vim index 47a20067..7e5cb387 100644 --- a/ftplugin/textile.vim +++ b/ftplugin/textile.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'textile') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'textile', 'ftplugin/textile.vim') finish endif diff --git a/ftplugin/tmux.vim b/ftplugin/tmux.vim index a8c1669b..ff0e39a0 100644 --- a/ftplugin/tmux.vim +++ b/ftplugin/tmux.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'tmux') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'tmux', 'ftplugin/tmux.vim') finish endif diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim index b5003f47..8d45ea77 100644 --- a/ftplugin/toml.vim +++ b/ftplugin/toml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'toml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'toml', 'ftplugin/toml.vim') finish endif diff --git a/ftplugin/treetop.vim b/ftplugin/treetop.vim index 190f24b1..ca80c62e 100644 --- a/ftplugin/treetop.vim +++ b/ftplugin/treetop.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'treetop') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'treetop', 'ftplugin/treetop.vim') finish endif diff --git a/ftplugin/tt2html.vim b/ftplugin/tt2html.vim index 05613ce6..013fcf9f 100644 --- a/ftplugin/tt2html.vim +++ b/ftplugin/tt2html.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'perl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'perl', 'ftplugin/tt2html.vim') finish endif diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim index 1380d1c3..621a592c 100644 --- a/ftplugin/twig.vim +++ b/ftplugin/twig.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'twig') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'twig', 'ftplugin/twig.vim') finish endif diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim index ec06e34d..fe0c7b8d 100644 --- a/ftplugin/typescript.vim +++ b/ftplugin/typescript.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'typescript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'ftplugin/typescript.vim') finish endif diff --git a/ftplugin/typescriptreact.vim b/ftplugin/typescriptreact.vim index a1e59699..c13fc996 100644 --- a/ftplugin/typescriptreact.vim +++ b/ftplugin/typescriptreact.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'typescript') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'ftplugin/typescriptreact.vim') finish endif diff --git a/ftplugin/udevconf.vim b/ftplugin/udevconf.vim index 24b870c1..58016594 100644 --- a/ftplugin/udevconf.vim +++ b/ftplugin/udevconf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'udevconf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'udevconf', 'ftplugin/udevconf.vim') finish endif diff --git a/ftplugin/udevperm.vim b/ftplugin/udevperm.vim index 4775b3e3..0b2944d6 100644 --- a/ftplugin/udevperm.vim +++ b/ftplugin/udevperm.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'udevperm') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'udevperm', 'ftplugin/udevperm.vim') finish endif diff --git a/ftplugin/updatedb.vim b/ftplugin/updatedb.vim index 4b15b1d7..159651f9 100644 --- a/ftplugin/updatedb.vim +++ b/ftplugin/updatedb.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'updatedb') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'updatedb', 'ftplugin/updatedb.vim') finish endif diff --git a/ftplugin/vala.vim b/ftplugin/vala.vim index ffbf427e..7e8fcc09 100644 --- a/ftplugin/vala.vim +++ b/ftplugin/vala.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'vala') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'vala', 'ftplugin/vala.vim') finish endif diff --git a/ftplugin/vb.vim b/ftplugin/vb.vim index f2c41f6f..0b5763f2 100644 --- a/ftplugin/vb.vim +++ b/ftplugin/vb.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'visual-basic') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'visual-basic', 'ftplugin/vb.vim') finish endif diff --git a/ftplugin/verilog.vim b/ftplugin/verilog.vim index 16899218..5c62644d 100644 --- a/ftplugin/verilog.vim +++ b/ftplugin/verilog.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'verilog') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'verilog', 'ftplugin/verilog.vim') finish endif diff --git a/ftplugin/vhdl.vim b/ftplugin/vhdl.vim index e351ea5c..cad03b5a 100644 --- a/ftplugin/vhdl.vim +++ b/ftplugin/vhdl.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'vhdl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'vhdl', 'ftplugin/vhdl.vim') finish endif diff --git a/ftplugin/vlang.vim b/ftplugin/vlang.vim index 88e4003e..cda16cba 100644 --- a/ftplugin/vlang.vim +++ b/ftplugin/vlang.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'v') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'v', 'ftplugin/vlang.vim') finish endif diff --git a/ftplugin/vroom.vim b/ftplugin/vroom.vim index 3ebc49ce..9f99a4e6 100644 --- a/ftplugin/vroom.vim +++ b/ftplugin/vroom.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'vroom') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'vroom', 'ftplugin/vroom.vim') finish endif diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim index 7babb058..96566638 100644 --- a/ftplugin/vue.vim +++ b/ftplugin/vue.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'vue') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'vue', 'ftplugin/vue.vim') finish endif diff --git a/ftplugin/wast.vim b/ftplugin/wast.vim index ac9ec8e6..4888e801 100644 --- a/ftplugin/wast.vim +++ b/ftplugin/wast.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'wast') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'wast', 'ftplugin/wast.vim') finish endif diff --git a/ftplugin/xdefaults.vim b/ftplugin/xdefaults.vim index 73491e1e..ec544434 100644 --- a/ftplugin/xdefaults.vim +++ b/ftplugin/xdefaults.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xdefaults') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xdefaults', 'ftplugin/xdefaults.vim') finish endif diff --git a/ftplugin/xf86conf.vim b/ftplugin/xf86conf.vim index 47870d19..0f689392 100644 --- a/ftplugin/xf86conf.vim +++ b/ftplugin/xf86conf.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xf86conf') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xf86conf', 'ftplugin/xf86conf.vim') finish endif diff --git a/ftplugin/xhtml.vim b/ftplugin/xhtml.vim index f7fae2f8..1e54f348 100644 --- a/ftplugin/xhtml.vim +++ b/ftplugin/xhtml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xhtml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xhtml', 'ftplugin/xhtml.vim') finish endif diff --git a/ftplugin/xinetd.vim b/ftplugin/xinetd.vim index a28129ea..afbdeacf 100644 --- a/ftplugin/xinetd.vim +++ b/ftplugin/xinetd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xinetd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xinetd', 'ftplugin/xinetd.vim') finish endif diff --git a/ftplugin/xmodmap.vim b/ftplugin/xmodmap.vim index 05640272..e4186764 100644 --- a/ftplugin/xmodmap.vim +++ b/ftplugin/xmodmap.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xmodmap') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xmodmap', 'ftplugin/xmodmap.vim') finish endif diff --git a/ftplugin/xs.vim b/ftplugin/xs.vim index 29ad519a..c93409d4 100644 --- a/ftplugin/xs.vim +++ b/ftplugin/xs.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'perl') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'perl', 'ftplugin/xs.vim') finish endif diff --git a/ftplugin/xsd.vim b/ftplugin/xsd.vim index 6199d82b..0b551124 100644 --- a/ftplugin/xsd.vim +++ b/ftplugin/xsd.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xsd') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xsd', 'ftplugin/xsd.vim') finish endif diff --git a/ftplugin/xslt.vim b/ftplugin/xslt.vim index ee5b4044..176c5108 100644 --- a/ftplugin/xslt.vim +++ b/ftplugin/xslt.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'xslt') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'xslt', 'ftplugin/xslt.vim') finish endif diff --git a/ftplugin/yaml.vim b/ftplugin/yaml.vim index b10e4433..71c7308d 100644 --- a/ftplugin/yaml.vim +++ b/ftplugin/yaml.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'yaml') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'yaml', 'ftplugin/yaml.vim') finish endif diff --git a/ftplugin/zig.vim b/ftplugin/zig.vim index f16f24a8..3b88372c 100644 --- a/ftplugin/zig.vim +++ b/ftplugin/zig.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'zig') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'zig', 'ftplugin/zig.vim') finish endif diff --git a/ftplugin/zimbu.vim b/ftplugin/zimbu.vim index bdcaacd1..a16fe8c0 100644 --- a/ftplugin/zimbu.vim +++ b/ftplugin/zimbu.vim @@ -1,4 +1,4 @@ -if has_key(g:polyglot_is_disabled, 'zimbu') +if polyglot#init#is_disabled(expand('<sfile>:p'), 'zimbu', 'ftplugin/zimbu.vim') finish endif |