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,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, 'indent/Jenkinsfile.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('jenkins', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jenkins') == -1
runtime indent/groovy.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, 'indent/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 indent file
" Language: Aap recipe
@@ -19,5 +14,3 @@ endif
" Works mostly like Python.
runtime! indent/python.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, 'indent/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: Vim Ada indent file
@@ -315,5 +310,3 @@ finish " 1}}}
"------------------------------------------------------------------------------
" vim: textwidth=78 wrap 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, 'indent/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
let s:save_cpo = &cpo
set cpo&vim
@@ -66,5 +61,3 @@ function GetAnsibleIndent(lnum)
endfunction
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, 'indent/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 indent file
" Language: ANT files
@@ -19,5 +14,3 @@ endif
" Use XML formatting rules
runtime! indent/xml.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, 'indent/applescript.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('applescript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1
"Plugin Name: applescript indent file.
"Author: mityu
@@ -84,5 +79,3 @@ let &cpo=s:cpo_save
unlet s:cpo_save
" 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, 'indent/arduino.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('arduino', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
" Vim indent file
" Language: Arduino
@@ -22,5 +17,3 @@ let b:did_indent = 1
setlocal cindent
let b:undo_indent = "setl cin<"
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, 'indent/autohotkey.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('autohotkey', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'autohotkey') == -1
" Vim indent file
" Language: AutoHotkey
@@ -226,5 +221,3 @@ function! GetAutoHotkeyIndent()
endfunction
let b:did_indent = 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, 'indent/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 indent file
" Language: automake
@@ -18,5 +13,3 @@ endif
" same as makefile indenting for now.
runtime! indent/make.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, 'indent/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: set sw=3 sts=3:
@@ -239,5 +234,3 @@ function! s:Safe_indent( base, wordlen, this_line )
endif
return indent + a:wordlen
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, 'indent/bib.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('bib', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bib') == -1
" Vim indent file
" Language: BibTeX
@@ -22,5 +17,3 @@ let b:did_indent = 1
setlocal cindent
let b:undo_indent = "setl cin<"
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, 'indent/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 indent file
" Language: Blade (Laravel)
@@ -102,5 +97,3 @@ function! GetBladeIndent()
return indent
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, 'indent/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 indent file
" Language: bst
@@ -82,5 +77,3 @@ function! GetBstIndent(lnum) abort
let ind = ind - shiftwidth() * s:count(fakeline,'}')
return ind
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, 'indent/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 indent 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, 'indent/cabal.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('haskell', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
" indentation for cabal
"
@@ -38,5 +33,3 @@ function! GetCabalIndent()
return match(l:prevline, '\S')
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, 'indent/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
if exists('b:did_indent')
finish
@@ -48,5 +43,3 @@ function! GetCaddyfileIndent(lnum)
return ind
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, 'indent/cdl.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cdl', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cdl') == -1
" Description: Comshare Dimension Definition Language (CDL)
" Author: Raul Segura Acevedo <raulseguraaceved@netscape.net>
@@ -136,5 +131,3 @@ fun! CdlGetIndent(lnum)
return ind
endfun
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, 'indent/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 indent file
" Language: Ch
@@ -25,5 +20,3 @@ let b:did_indent = 1
" Ch indenting is built-in, thus this is very simple
setlocal cindent
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, 'indent/chaiscript.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('chaiscript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'chaiscript') == -1
" Vim indent file
" Language: ChaiScript
@@ -57,5 +52,3 @@ function! GetChaiScriptIndent()
return ind
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, 'indent/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 indent file
" Language: Clojure
@@ -410,5 +405,3 @@ let &cpo = s:save_cpo
unlet! s:save_cpo
" 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, 'indent/cmake.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cmake', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmake') == -1
" Vim indent file
" Language: CMake (ft=cmake)
@@ -96,5 +91,3 @@ endfun
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, 'indent/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 indent file
" Language: cobol
@@ -230,5 +225,3 @@ function! GetCobolIndent(lnum) abort
endif
return ind < bshft ? bshft : ind
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, 'indent/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>
@@ -435,5 +430,3 @@ function! GetCoffeeIndent(curlnum)
" No special rules applied, so use the default policy.
exec 'return' s:GetDefaultPolicy(a:curlnum)
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, 'indent/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 indent file
" Language: Autoconf configure.{ac,in} file
@@ -89,5 +84,3 @@ function GetConfigIndent()
return ind
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, 'indent/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
" Initialization {{{1
" ==============
@@ -117,5 +112,3 @@ endfunction
" }}}1
" vim:sw=2 sts=2 ts=8 fdm=marker 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, 'indent/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 indent file
" Language: C#
@@ -80,5 +75,3 @@ let &cpoptions = s:save_cpo
unlet s:save_cpo
" vim:et:sw=2:sts=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, 'indent/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 indent file
" Language: CSS
@@ -91,5 +86,3 @@ endfunction
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, 'indent/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 indent file
" Language: Cucumber
@@ -82,5 +77,3 @@ function! GetCucumberIndent()
endfunction
" 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, 'indent/cuda.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('cuda', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cuda') == -1
" Vim indent file
" Language: CUDA
@@ -22,5 +17,3 @@ let b:did_indent = 1
setlocal cindent
let b:undo_indent = "setl cin<"
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, 'indent/cython.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('python-indent', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-indent') == -1
" PEP8 compatible Python indent file
" Language: Python
@@ -461,5 +456,3 @@ function! GetPythonPEPIndent(lnum)
return s:indent_like_previous_line(a:lnum)
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, 'indent/d.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dlang', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1
" Vim indent file for the D programming language (version 1.076 and 2.063).
"
@@ -84,5 +79,3 @@ function GetDIndent()
return cind
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, 'indent/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_indent')
finish
@@ -42,5 +37,3 @@ function! DartIndent()
return indentTo
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, 'indent/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 indent file
" Language: dict(1) configuration file
@@ -20,5 +15,3 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
setlocal nosmartindent
inoremap <buffer> # 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, 'indent/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 indent file
" Language: dictd(8) configuration file
@@ -20,5 +15,3 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
setlocal nosmartindent
inoremap <buffer> # 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, 'indent/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 indent file
" Language: MSDOS batch file (with NT command extensions)
@@ -66,5 +61,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8 sw=2 sts=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, 'indent/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 indent file
" Language: DTD (Document Type Definition for XML)
@@ -332,5 +327,3 @@ endfunction
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, 'indent/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
" Vim indent file
" Language: dune
@@ -17,5 +12,3 @@ let b:did_indent = 1
" dune format-dune-file uses 1 space to indent
set softtabstop=1 shiftwidth=1 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, 'indent/dylan.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('dylan', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dylan') == -1
" Vim indent file
" Language: Dylan
@@ -97,5 +92,3 @@ function DylanGetIndent()
endfunction
" vim:sw=2 tw=130
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, 'indent/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
" Setup {{{1
" =====
@@ -483,5 +478,3 @@ endfunction
" }}}
" vim:fdm=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, 'indent/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_indent")
finish
@@ -79,5 +74,3 @@ endfunction
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, 'indent/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_indent")
finish
@@ -22,5 +17,3 @@ setlocal indentkeys+=*<Return>,=->,=\|>,=<>,0},0],0)
function! elixir#indent(lnum)
return elixir#indent#indent(a:lnum)
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, 'indent/elm.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('elm', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
" indentation for Elm (https://elm-lang.org/)
@@ -119,5 +114,3 @@ function! GetElmIndent()
return l:ind
endfunc
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, 'indent/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>>
@@ -21,5 +16,3 @@ endif
runtime! indent/coffee.vim
unlet! b:did_indent
let b:did_indent = 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, 'indent/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>
@@ -13,5 +8,3 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1
" Version: 2.0.1
" Last Change: 2016 Jul 6
" License: ISC
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, 'indent/erlang.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('erlang', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'erlang') == -1
" Vim indent file
" Language: Erlang (http://www.erlang.org)
@@ -1490,5 +1485,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 et fdm=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, 'indent/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 indent file
" Language: eRuby
@@ -117,5 +112,3 @@ let &cpo = s:cpo_sav
unlet! s:cpo_sav
" vim:set sw=2 sts=2 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, 'indent/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 indent file
" Language: Eterm configuration file
@@ -43,5 +38,3 @@ function GetEtermIndent()
return ind
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, 'indent/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 indent file
" Language: Falcon
@@ -458,5 +453,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, 'indent/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
@@ -333,5 +328,3 @@ endif
let &cpo = s:save_cpo
unlet! s:save_cpo
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, 'indent/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 indentexpr=fish#Indent()
setlocal indentkeys+==end,=else,=case
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, 'indent/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 indent file
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, and 77)
@@ -226,5 +221,3 @@ let &cpoptions=s:cposet
unlet s:cposet
" vim:sw=2 tw=130
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, 'indent/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 indent file
" Language: FrameScript
@@ -48,5 +43,3 @@ function GetFrameScriptIndent()
return ind
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, 'indent/fsharp.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('fsharp', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
" Vim indent file
" Language: FSharp
@@ -256,5 +251,3 @@ function! GetFsharpIndent()
endfunction
" vim: sw=4 et sts=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, 'indent/gdscript3.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('gdscript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdscript') == -1
" Vim indent file
" Language: Python
@@ -207,5 +202,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" 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, 'indent/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 indent file
" Language: git config file
@@ -45,5 +40,3 @@ function! GetGitconfigIndent()
return -1
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, 'indent/gitolite.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('gitolite', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gitolite') == -1
" Vim indent file
" Language: gitolite configuration
@@ -56,5 +51,3 @@ endfunction
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, 'indent/glsl.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('glsl', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
" Language: OpenGL Shading Language
" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
@@ -18,5 +13,3 @@ setlocal autoindent cindent
setlocal formatoptions+=roq
" 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, 'indent/go.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
" Copyright 2011 The Go Authors. All rights reserved.
" Use of this source code is governed by a BSD-style
@@ -93,5 +88,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 ts=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, 'indent/gohtmltmpl.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
if exists("b:did_indent")
finish
@@ -61,5 +56,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 ts=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, 'indent/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>
"
@@ -114,5 +109,3 @@ endfunction
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, 'indent/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 indent file
" Language: Haml
@@ -81,5 +76,3 @@ function! GetHamlIndent()
endfunction
" 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, 'indent/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 indent file
" Language: Hamster Script
@@ -62,5 +57,3 @@ function HamGetFreeIndent()
endfunction
" vim:sw=2 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, 'indent/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
" Mustache & Handlebars syntax
" Language: Mustache, Handlebars
@@ -132,5 +127,3 @@ function! GetHandlebarsIndent(...)
return ind
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, 'indent/haskell.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('haskell', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
" indentation for haskell
"
@@ -516,5 +511,3 @@ function! GetHaskellIndent()
return -1
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, 'indent/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
if exists('b:did_indent')
finish
@@ -18,5 +13,3 @@ setlocal cindent
" don't de-indent comments (cindent treats them like preprocessor directives)
setlocal cinkeys-=0#
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, 'indent/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 indent file
" Language: hog (Snort.conf)
@@ -84,5 +79,3 @@ endfunction
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, 'indent/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 indent script for HTML
" Maintainer: Bram Moolenaar
@@ -1087,5 +1082,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: fdm=marker ts=8 sw=2 tw=78
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, 'indent/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 indent file
" Language: Django HTML template
@@ -19,5 +14,3 @@ endif
" Use HTML formatting rules.
runtime! indent/html.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, 'indent/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
" indentation for idris (idris-lang.org)
"
@@ -151,5 +146,3 @@ function! GetIdrisIndent()
return match(prevline, '\S')
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, 'indent/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
" indentation for idris (idris-lang.org)
"
@@ -151,5 +146,3 @@ function! GetIdrisIndent()
return match(prevline, '\S')
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, 'indent/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 indent file
" Language: J
@@ -57,5 +52,3 @@ function GetJIndent() abort
endif
return l:indent
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, 'indent/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 indent file
" Language: Java
@@ -157,5 +152,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vi: sw=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, 'indent/javascript.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('javascript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
" Vim indent file
" Language: Javascript
@@ -484,5 +479,3 @@ endfunction
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, 'indent/json.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('json', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json') == -1
" Vim indent file
" Language: JSON
@@ -184,5 +179,3 @@ unlet s:cpo_save
" vim:set sw=2 sts=2 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, 'indent/jsp.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('jsp', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsp') == -1
" Vim filetype indent file
" Language: JSP files
@@ -24,5 +19,3 @@ endif
runtime! indent/html.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, 'indent/jst.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('jst', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
if exists("b:did_indent")
finish
@@ -82,5 +77,3 @@ endfunction
" vim:set sw=2 sts=2 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, 'indent/julia.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('julia', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
" Vim indent file
" Language: Julia
@@ -493,5 +488,3 @@ function GetJuliaIndent()
return ind
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, 'indent/kotlin.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('kotlin', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1
" Vim indent file
" Language: Kotlin
@@ -63,5 +58,3 @@ function! GetKotlinIndent()
return prev_indent
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, 'indent/ld.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ld', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ld') == -1
" Vim indent file
" Language: ld(1) script
@@ -91,5 +86,3 @@ function GetLDIndent()
return ind
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, 'indent/ledger.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('ledger', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ledger') == -1
" Vim filetype indent file
" filetype: ledger
@@ -55,5 +50,3 @@ function GetLedgerIndent(...)
return 0
endif
endf
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, 'indent/less.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('less', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1
" Vim indent file
" Language: less
@@ -20,5 +15,3 @@ endif
runtime! indent/css.vim
" 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, 'indent/lifelines.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('lifelines', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lifelines') == -1
" Vim indent file
" Language: LifeLines
@@ -31,5 +26,3 @@ setlocal cinoptions+=*500
let b:undo_indent = "setl cin< cino< cinw<"
" vim: ts=8 sw=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, 'indent/lilypond.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('lilypond', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lilypond') == -1
" LilyPond indent file
" Language: LilyPond
@@ -67,5 +62,3 @@ 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, 'indent/liquid.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('liquid', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'liquid') == -1
" Vim indent file
" Language: Liquid
@@ -70,5 +65,3 @@ function! GetLiquidIndent(...)
let ind -= sw * s:count(cline,'{%\s*end\w*$')
return ind
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, 'indent/lisp.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('lisp', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lisp') == -1
" Vim indent file
" Language: Lisp
@@ -22,5 +17,3 @@ let b:did_indent = 1
setlocal ai nosi
let b:undo_indent = "setl ai< si<"
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, 'indent/litcoffee.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
if exists('b:did_indent')
finish
@@ -29,5 +24,3 @@ function GetLitCoffeeIndent()
endif
endfunc
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, 'indent/llvm.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('llvm', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'llvm') == -1
" Vim indent file
" Language: llvm
@@ -79,5 +74,3 @@ function! GetLLVMIndent()
return ind
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, 'indent/logtalk.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('logtalk', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'logtalk') == -1
" Maintainer: Paulo Moura <pmoura@logtalk.org>
" Revised on: 2018.08.04
@@ -71,5 +66,3 @@ function! GetLogtalkIndent()
endif
return ind
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, 'indent/ls.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('livescript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1
" Language: LiveScript
" Maintainer: George Zahariev
@@ -271,5 +266,3 @@ function! GetLiveScriptIndent(curlinenum)
return indent
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, 'indent/lua.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('lua', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lua') == -1
" Vim indent file
" Language: Lua
@@ -135,5 +130,3 @@ function GetLuaIndent()
return indent(prev_line) + (shiftwidth() * i)
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, 'indent/mail.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('mail', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mail') == -1
" Vim indent file
" Language: Mail
@@ -20,5 +15,3 @@ let b:did_indent = 1
" What works best is auto-indenting, disable other indenting.
" For formatting see the ftplugin.
setlocal autoindent nosmartindent nocindent indentexpr=
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, 'indent/make.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('make', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'make') == -1
" Vim indent file
" Language: Makefile
@@ -123,5 +118,3 @@ function GetMakeIndent()
endif
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, 'indent/mako.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('mako', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1
" Vim indent file
" Language: Mako
@@ -435,5 +430,3 @@ fun! <SID>HtmlIndentSum(lnum, style)
endfun
" vim: set ts=4 sw=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, 'indent/markdown.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('markdown', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1
if exists("b:did_indent") | finish | endif
let b:did_indent = 1
@@ -82,5 +77,3 @@ function GetMarkdownIndent()
return ind
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, 'indent/meson.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('meson', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'meson') == -1
" Vim indent file
" Language: Meson
@@ -187,5 +182,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" 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, 'indent/mf.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('mf', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mf') == -1
" METAFONT indent file
" Language: METAFONT
@@ -13,5 +8,3 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mf') == -1
" Last Change: 2016 Oct 1
runtime! indent/mp.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, 'indent/moon.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('moonscript', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'moonscript') == -1
" Language: MoonScript
" Maintainer: leafo <leafot@gmail.com>
@@ -330,5 +325,3 @@ function! GetMoonIndent(curlinenum)
return indent
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, 'indent/mp.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('mp', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mp') == -1
" MetaPost indent file
" Language: MetaPost
@@ -367,5 +362,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:sw=2:fdm=marker
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, 'indent/mustache.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
runtime! indent/handlebars.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, 'indent/nginx.vim', 1, 1), Filter)
if len(files) > 0
exec 'source ' . files[0]
if !polyglot#util#IsEnabled('nginx', expand('<sfile>:p'))
finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
if exists("b:did_indent")
finish
@@ -18,5 +13,3 @@ setlocal indentexpr=
setlocal cindent
" Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0#
endif

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