diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-30 15:53:17 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-30 15:53:17 +0100 |
commit | cef5e2d93100c4b765d276914658eab75906f4c9 (patch) | |
tree | f713afdee5cf0458b193c47f14ca35b075ba022a /build | |
parent | 17ad302c54063be1871c7f82d75b77e7c595e10c (diff) | |
download | vim-polyglot-3.3.1.tar.gz vim-polyglot-3.3.1.zip |
Disable ftdetect parts of some plugins, fixes #254v3.3.1
vim-polyglot discourages use of commands like:
autocmd BufRead *
autocmd BufNewFile *
And others that execute for every file / buffer opened.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -52,6 +52,13 @@ extract() { fi done + output "${subdirs##, })\n" + + if (echo "julia coffee-script elixir fish git plantuml scala swift" | fgrep -q "$name"); then + echo "Skipping ftdetect installation of $name" + continue + fi + for f in ${dir}/ftdetect/*; do ( echo "augroup filetypedetect"; @@ -62,7 +69,6 @@ extract() { ) >> tmp/polyglot.vim; done - output "${subdirs##, })\n" done mv tmp/polyglot.vim ftdetect/ |