Respect symlinks for resolving vim-polyglot as fallback, closes #605

This commit is contained in:
Adam Stankiewicz
2020-10-25 03:19:58 +01:00
parent d73c4d1562
commit cbde2571d4
1293 changed files with 2073 additions and 10649 deletions

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/8th.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('8th', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '8th') == -1
" Vim ftplugin file
" Language: 8th
@@ -32,5 +27,3 @@ setlocal fo=tcrqol
setlocal matchpairs+=\::;
setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255
setlocal suffixesadd=.8th
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/a2ps.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('a2ps', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'a2ps') == -1
" Vim filetype plugin file
" Language: a2ps(1) configuration file
@@ -27,5 +22,3 @@ setlocal formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/aap.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('aap', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aap') == -1
" Vim filetype plugin file
" Language: Aap recipe
@@ -32,5 +27,3 @@ setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:-
" Expand tabs to spaces to avoid trouble.
setlocal expandtab
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/abap.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('abap', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abap') == -1
" Vim filetype plugin file
" Language: ABAP
@@ -36,5 +31,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: set sw=4 sts=4 et tw=80 :
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/abaqus.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('abaqus', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abaqus') == -1
" Vim filetype plugin file
" Language: Abaqus finite element input file (www.abaqus.com)
@@ -104,5 +99,3 @@ let b:undo_ftplugin = "let s:cpo_save = &cpoptions|"
" Restore saved compatibility options
let &cpoptions = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ada.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ada', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ada') == -1
"------------------------------------------------------------------------------
" Description: Perform Ada specific completion & tagging.
@@ -217,5 +212,3 @@ finish " 1}}}
"------------------------------------------------------------------------------
" vim: textwidth=78 nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
" vim: foldmethod=marker
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/alsaconf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('alsaconf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'alsaconf') == -1
" Vim filetype plugin file
" Language: alsaconf(8) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,13 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ansible.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
set isfname+=@-@
set path+=./../templates,./../files,templates,files
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ansible_hosts.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
if exists("b:did_ftplugin")
finish
@@ -16,5 +11,3 @@ endif
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions-=c
let b:undo_ftplugin = "setl comments< commentstring< formatoptions<"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ant.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ant', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ant') == -1
" Vim filetype plugin file
" Language: ant
@@ -51,5 +46,3 @@ let b:undo_ftplugin = "unlet! b:browsefilter | " . s:undo_ftplugin
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/arch.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('arch', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arch') == -1
" Vim filetype plugin file
" Language: GNU Arch inventory file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/art.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('art', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'art') == -1
" Vim filetype plugin
" Language: ART-IM and ART*Enterprise
@@ -22,5 +17,3 @@ run ftplugin/lisp.vim
setl lw-=if
setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema,for,schema,while
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/aspvbs.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('aspvbs', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aspvbs') == -1
" Vim filetype plugin file
" Language: aspvbs
@@ -67,5 +62,3 @@ let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase b:browsefilter |
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/automake.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('automake', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'automake') == -1
" Vim filetype plugin file
" Language: Automake
@@ -23,5 +18,3 @@ runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/awk.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('awk', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'awk') == -1
" Vim filetype plugin
" Language: awk, nawk, gawk, mawk
@@ -62,5 +57,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/bdf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bdf') == -1
" Vim filetype plugin file
" Language: BDF font definition
@@ -27,5 +22,3 @@ setlocal formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/blade.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('blade', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
" Vim filetype plugin
" Language: Blade (Laravel)
@@ -40,5 +35,3 @@ if exists('loaded_matchit') && exists('b:match_words')
let b:match_skip = 'synIDattr(synID(line("."), col("."), 0), "name") !=# "bladeKeyword"'
let b:match_ignorecase = 0
endif
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/bst.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('bst', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bst') == -1
" Vim filetype plugin file
" Language: bst
@@ -22,5 +17,3 @@ setlocal comments=:%
setlocal fo-=t fo+=croql
let b:undo_ftplugin = "setlocal com< cms< fo<"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/bzl.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('bzl', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bzl') == -1
" Vim filetype plugin file
" Language: Bazel (http://bazel.io)
@@ -101,5 +96,3 @@ endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/caddyfile.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('caddyfile', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
" Language: Caddyfile
" Author: Josh Glendenning <josh@isobit.io>
@@ -31,5 +26,3 @@ else
let g:NERDCustomDelimiters = {'caddyfile': s:delimiters}
endif
unlet s:delimiters
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/calendar.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('calendar', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'calendar') == -1
" Vim filetype plugin file
" Language: calendar(1) input file
@@ -27,5 +22,3 @@ setlocal formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cdrdaoconf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cdrdaoconf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cdrdaoconf') == -1
" Vim filetype plugin file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
@@ -25,5 +20,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cfg.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cfg', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cfg') == -1
" Vim filetype plugin file
" Language: Configuration File
@@ -26,5 +21,3 @@ setlocal commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ch.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ch', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ch') == -1
" Vim filetype plugin file
" Language: Ch
@@ -24,5 +19,3 @@ endif
" Behaves just like C
runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/clojure.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('clojure', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
" Vim filetype plugin file
" Language: Clojure
@@ -102,5 +97,3 @@ let &cpo = s:cpo_save
unlet! s:cpo_save s:setting s:dir
" vim:sts=8:sw=8:ts=8:noet
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cobol.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cobol', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cobol') == -1
" Vim filetype plugin file
" Language: cobol
@@ -276,5 +271,3 @@ function! s:toend(direction)
exe "keepjumps ".keep
endif
endfunction
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/coffee.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
" Language: CoffeeScript
" Maintainer: Mick Koch <mick@kochm.co>
@@ -412,5 +407,3 @@ command! -buffer -range=% -bar -nargs=* CoffeeRun
\ call s:CoffeeRun(<line1>, <line2>, <q-args>)
command! -buffer -range=% -bang -bar -nargs=* CoffeeLint
\ call s:CoffeeLint(<line1>, <line2>, <q-bang>, <q-args>)
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/conf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('conf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'conf') == -1
" Vim filetype plugin file
" Language: generic configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/config.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('config', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'config') == -1
" Vim filetype plugin file
" Language: config
@@ -49,5 +44,3 @@ let b:undo_ftplugin = "unlet! b:browsefilter | " . b:undo_ftplugin
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/crm.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('crm', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crm') == -1
" Vim filetype plugin file
" Language: CRM114
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cryptol/folding.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cryptol', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1
" Copyright © 2013 Edward O'Callaghan. All Rights Reserved.
@@ -53,5 +48,3 @@ function! GetPotionFold(lnum)
return '>' . next_indent
endif
endfunction
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/crystal.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('crystal', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
if exists('b:did_ftplugin')
finish
@@ -90,5 +85,3 @@ if exists('g:AutoPairsLoaded')
endif
" vim: sw=2 sts=2 et:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cs.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cs', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cs') == -1
" Vim filetype plugin file
" Language: C#
@@ -36,5 +31,3 @@ endif
let &cpo = s:keepcpo
unlet s:keepcpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/csc.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('csc', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'csc') == -1
" Vim filetype plugin file
" Language: csc
@@ -34,5 +29,3 @@ let b:undo_ftplugin = "unlet! b:match_words"
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/css.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('css', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css') == -1
" Vim filetype plugin file
" Language: CSS
@@ -31,5 +26,3 @@ let &l:include = '^\s*@import\s\+\%(url(\)\='
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/csv.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('csv', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'csv') == -1
" Filetype plugin for editing CSV files. "{{{1
" Author: Christian Brabandt <cb@256bit.org>
@@ -41,5 +36,3 @@ unlet s:cpo_save
" Vim Modeline " {{{2
" vim: set foldmethod=marker et sw=0 sts=-1 ts=4:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cucumber.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cucumber', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
" Vim filetype plugin
" Language: Cucumber
@@ -157,5 +152,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:set sts=2 sw=2:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/cvsrc.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cvsrc', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cvsrc') == -1
" Vim filetype plugin file
" Language: cvs(1) RC file
@@ -26,5 +21,3 @@ setlocal comments= commentstring= formatoptions-=tcroql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dart.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dart', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
if exists('b:did_ftplugin')
finish
@@ -37,5 +32,3 @@ setlocal isfname+=:
setlocal iskeyword+=$
let b:undo_ftplugin = 'setl et< fo< sw< sts< com< cms< inex< isf<'
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/debchangelog.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('debchangelog', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'debchangelog') == -1
" Vim filetype plugin file (GUI menu, folding and completion)
" Language: Debian Changelog
@@ -390,5 +385,3 @@ setlocal omnifunc=DebCompleteBugs
" }}}
" vim: set foldmethod=marker:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/debcontrol.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('debcontrol', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'debcontrol') == -1
" Vim filetype plugin file (GUI menu and folding)
" Language: Debian control files
@@ -77,5 +72,3 @@ function! DebControlFold(l)
endfunction
" }}}1
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/denyhosts.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('denyhosts', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'denyhosts') == -1
" Vim filetype plugin file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
@@ -25,5 +20,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dhall.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dhall', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dhall') == -1
if exists('b:dhall_ftplugin')
finish
@@ -50,5 +45,3 @@ if exists('g:dhall_format')
endif
au BufNewFile,BufRead *.dhall setl shiftwidth=2
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dictconf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dictconf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dictconf') == -1
" Vim filetype plugin file
" Language: dict(1) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dictdconf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dictdconf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dictdconf') == -1
" Vim filetype plugin file
" Language: dictd(8) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/diff.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('diff', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'diff') == -1
" Vim filetype plugin file
" Language: Diff
@@ -25,5 +20,3 @@ setlocal nomodeline
" If there are comments they start with #
let &commentstring = "# %s"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dircolors.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dircolors', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dircolors') == -1
" Vim filetype plugin file
" Language: dircolors(1) input file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,16 +1,9 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/docker-compose.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('docker-compose', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'docker-compose') == -1
" Define comment string
setlocal commentstring=#\ %s
" Enable automatic comment insertion
setlocal formatoptions+=cro
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dockerfile.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dockerfile', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
" Vim filetype plugin
" Language: Dockerfile
@@ -23,5 +18,3 @@ let b:did_ftplugin = 1
let b:undo_ftplugin = "setl commentstring<"
setlocal commentstring=#\ %s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dosbatch.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dosbatch', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dosbatch') == -1
" Vim filetype plugin file
" Language: MS-DOS .bat files
@@ -47,5 +42,3 @@ let b:undo_ftplugin = "setlocal comments< formatoptions< keywordprg<"
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dosini.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dosini', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dosini') == -1
" Vim filetype plugin file
" Language: Configuration File (ini file) for MSDOS/MS Windows
@@ -26,5 +21,3 @@ setlocal comments=:; commentstring=;\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dtd.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dtd', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dtd') == -1
" Vim filetype plugin file
" Language: dtd
@@ -47,5 +42,3 @@ let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions<" .
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/dune.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
if exists("b:did_ftplugin")
finish
@@ -17,5 +12,3 @@ set lisp
" Comment string
setl commentstring=;\ %s
setl comments=:;
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ecrystal.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('crystal', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" Filetype plugin for https://crystal-lang.org/api/0.35.1/ECR.html
if exists('b:did_ftplugin')
@@ -104,5 +99,3 @@ let b:undo_ftplugin = 'setlocal comments< commentstring< shiftwidth<' .
\ '| unlet! b:browsefilter b:match_words ' .
\ '| unlet! b:AutoPairs ' .
\ '| ' . s:undo_ftplugin
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/eelixir.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
if exists("b:did_ftplugin")
finish
@@ -114,5 +109,3 @@ let b:undo_ftplugin = "setl cms< " .
\ " | unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
let &cpo = s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/elinks.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('elinks', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elinks') == -1
" Vim filetype plugin file
" Language: elinks(1) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/elixir.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
if exists('b:did_ftplugin')
finish
@@ -58,5 +53,3 @@ onoremap <buffer> <silent> <expr> [] ':silent keeppatterns ?'.b:block_end .'<CR
let b:undo_ftplugin = 'setlocal sw< sts< et< isk< com< cms< path< inex< sua< def< fo<'.
\ '| unlet! b:match_ignorecase b:match_words b:block_begin b:block_end'
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/embeddedpuppet.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('puppet', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
" Vim filetype plugin
" Language: embedded puppet
@@ -82,5 +77,3 @@ let b:undo_ftplugin = "setl cms< "
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ember-script.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('emberscript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1
" Language: ember-script
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>>
@@ -28,5 +23,3 @@ else
endif
setlocal comments=:#
setlocal commentstring=#\ %s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/emblem.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('emblem', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1
" Language: emblem
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>
@@ -24,5 +19,3 @@ setlocal smartindent
setlocal formatoptions=q
setlocal comments=:/
setlocal commentstring=/\ %s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/eruby.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
" Vim filetype plugin
" Language: eRuby
@@ -138,5 +133,3 @@ function! ErubyAtCursor() abort
endfunction
" vim: nowrap sw=2 sts=2 ts=8:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/eterm.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('eterm', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'eterm') == -1
" Vim filetype plugin file
" Language: eterm(1) configuration file
@@ -27,5 +22,3 @@ setlocal formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/falcon.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('falcon', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'falcon') == -1
" Vim filetype plugin file
" Language: Falcon
@@ -56,5 +51,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: set sw=4 sts=4 et tw=80 :
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/fennel.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fennel', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fennel') == -1
" Vim filetype plugin file
" Language: FENNEL
@@ -33,5 +28,3 @@ setlocal comments=n:;
setlocal commentstring=;\ %s
let &cpo = s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/fetchmail.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fetchmail', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fetchmail') == -1
" Vim filetype plugin file
" Language: fetchmail(1) RC File
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/fish.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fish', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
setlocal comments=:#
setlocal commentstring=#%s
@@ -45,5 +40,3 @@ let b:match_words =
let b:endwise_addition = 'end'
let b:endwise_words = 'begin,function,if,switch,while,for'
let b:endwise_syngroups = 'fishKeyword,fishConditional,fishRepeat'
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/fortran.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fortran', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fortran') == -1
" Vim settings file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66)
@@ -140,5 +135,3 @@ let &cpoptions=s:cposet
unlet s:cposet
" vim:sw=2
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/framescript.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('framescript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'framescript') == -1
" Vim ftplugin file
" Language: FrameScript
@@ -37,5 +32,3 @@ endif
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/fvwm.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fvwm', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fvwm') == -1
" Created : Tue 09 May 2006 02:07:31 PM CDT
" Modified : Tue 09 May 2006 02:07:31 PM CDT
@@ -21,5 +16,3 @@ let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gdb.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('gdb', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdb') == -1
" Vim filetype plugin file
" Language: gdb
@@ -19,5 +14,3 @@ setlocal commentstring=#%s
" Undo the stuff we changed.
let b:undo_ftplugin = "setlocal cms<"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/git.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('git', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: generic git output
@@ -48,5 +43,3 @@ endif
setlocal includeexpr=substitute(v:fname,'^[^/]\\+/','','')
let b:undo_ftplugin = "setl keywordprg< path< includeexpr<"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gitcommit.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('git', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: git commit file
@@ -74,5 +69,3 @@ function! s:gitdiffcached(bang,gitdir,...)
nnoremap <buffer> <silent> q :q<CR>
setlocal buftype=nowrite nobuflisted noswapfile nomodifiable filetype=git
endfunction
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gitconfig.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('git', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: git config file
@@ -22,5 +17,3 @@ setlocal formatoptions-=t formatoptions+=croql
setlocal comments=:#,:; commentstring=;\ %s
let b:undo_ftplugin = "setl fo< com< cms<"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gitignore.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('gitignore', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gitignore') == -1
scriptencoding utf-8
@@ -23,5 +18,3 @@ setlocal commentstring=#\ %s
let b:undo_ftplugin = 'setlocal commentstring<'
" vim: ts=2 et sw=2
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gitrebase.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('git', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: git rebase --interactive
@@ -55,5 +50,3 @@ nnoremap <buffer> <silent> <C-A> :<C-U><C-R>=v:count1<CR>Cycle<CR>
nnoremap <buffer> <silent> <C-X> :<C-U><C-R>=v:count1<CR>Cycle!<CR>
let b:undo_ftplugin = b:undo_ftplugin . "|exe 'nunmap <buffer> K'|exe 'nunmap <buffer> <C-A>'|exe 'nunmap <buffer> <C-X>'"
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gitsendemail.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('git', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim filetype plugin
" Language: git send-email message
@@ -13,5 +8,3 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Last Change: 2009 Dec 24
runtime! ftplugin/mail.vim
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/gpg.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('gpg', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gpg') == -1
" Vim filetype plugin file
" Language: gpg(1) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/graphql.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
" Copyright (c) 2016-2020 Jon Parise <jon@indelible.org>
"
@@ -44,5 +39,3 @@ setlocal shiftwidth=2
setlocal expandtab
let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/groovy.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('groovy', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'groovy') == -1
" Vim filetype plugin file
" Language: groovy
@@ -26,5 +21,3 @@ setlocal commentstring=//%s
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/group.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('group', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'group') == -1
" Vim filetype plugin file
" Language: group(5) user group file
@@ -26,5 +21,3 @@ setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/grub.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('grub', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'grub') == -1
" Vim filetype plugin file
" Language: grub(8) configuration file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/haml.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('haml', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim filetype plugin
" Language: Haml
@@ -78,5 +73,3 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set sw=2:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hamster.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hamster', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hamster') == -1
" Vim filetype plugin
" Language: Hamster Script
@@ -69,5 +64,3 @@ setlocal ignorecase
let &cpo = s:cpo_save
unlet s:cpo_save
setlocal cpo+=M " makes \%( match \)
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/handlebars.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('handlebars', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1
if exists('b:loaded_mustache_handlebars')
finish
@@ -130,5 +125,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nofoldenable
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hcl.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hcl', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hcl') == -1
" File: ftplugin/hcl.vim
" Author: BABAROT <b4b4r07@gmail.com>
@@ -44,5 +39,3 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim: set et sw=4 ts=4:
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/help.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('help', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'help') == -1
" Vim filetype plugin file
" Language: Vim help file
@@ -104,5 +99,3 @@ endif
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hgcommit.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hgcommit', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hgcommit') == -1
" Vim filetype plugin file
" Language: hg (Mercurial) commit file
@@ -23,5 +18,3 @@ let b:did_ftplugin = 1
setlocal nomodeline
let b:undo_ftplugin = 'setl modeline<'
endif

View File

@@ -1,13 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hive.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hive', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hive') == -1
setlocal comments=:--
setlocal commentstring=--\ %s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hog.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hog', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hog') == -1
" Vim filetype plugin
" Language: hog (snort.conf)
@@ -46,5 +41,3 @@ endif
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hostconf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hostconf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hostconf') == -1
" Vim filetype plugin file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
@@ -25,5 +20,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/hostsaccess.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('hostsaccess', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hostsaccess') == -1
" Vim filetype plugin file
" Language: hosts_access(5) control file
@@ -26,5 +21,3 @@ setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/html.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('html', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html') == -1
" Vim filetype plugin file
" Language: html
@@ -58,5 +53,3 @@ let b:undo_ftplugin = "setlocal commentstring< matchpairs< omnifunc< comments< f
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/htmldjango.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('htmldjango', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'htmldjango') == -1
" Vim filetype plugin file
" Language: Django HTML template
@@ -20,5 +15,3 @@ endif
" Use HTML and Django template ftplugins.
runtime! ftplugin/html.vim
runtime! ftplugin/django.vim
endif

View File

@@ -1,12 +1,5 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/i3config.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('i3', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1
setlocal commentstring=#\ %s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/idris.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('idris', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1
if bufname('%') == "idris-response"
finish
@@ -349,5 +344,3 @@ menu Idris.Proof\ Search\ with\ hints <LocalLeader>p
au BufHidden idris-response call IdrisHideResponseWin()
au BufEnter idris-response call IdrisShowResponseWin()
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/idris2.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('idris2', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris2') == -1
if bufname('%') == "idris-response"
finish
@@ -337,5 +332,3 @@ menu Idris.Proof\ Search\ with\ hints <LocalLeader>p
au BufHidden idris-response call IdrisHideResponseWin()
au BufEnter idris-response call IdrisShowResponseWin()
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/indent.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('indent', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'indent') == -1
" Vim filetype plugin file
" Language: indent(1) configuration file
@@ -27,5 +22,3 @@ setlocal formatoptions-=t formatoptions+=croql
let &cpo = s:cpo_save
unlet s:cpo_save
endif

View File

@@ -1,16 +1,9 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/ion.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ion', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ion') == -1
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
setlocal commentstring=#%s
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/j.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('j', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'j') == -1
" Vim filetype plugin
" Language: J
@@ -88,5 +83,3 @@ endif
let &cpo = s:save_cpo
unlet s:save_cpo
endif

View File

@@ -1,11 +1,6 @@
let s:base = expand("<sfile>:h:h")
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
let files = filter(globpath(&rtp, 'ftplugin/java.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('java', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'java') == -1
" Vim filetype plugin file
" Language: Java
@@ -58,5 +53,3 @@ let b:undo_ftplugin = "setlocal suffixes< suffixesadd<" .
" Restore the saved compatibility options.
let &cpo = s:save_cpo
unlet s:save_cpo
endif

Some files were not shown because too many files have changed in this diff Show More