summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/LaTeXtoUnicode.vim2
-rw-r--r--autoload/RstFold.vim2
-rw-r--r--autoload/cargo.vim2
-rw-r--r--autoload/cargo/quickfix.vim2
-rw-r--r--autoload/clojurecomplete.vim2
-rw-r--r--autoload/coffee.vim2
-rw-r--r--autoload/crystal_lang.vim2
-rw-r--r--autoload/csv.vim2
-rw-r--r--autoload/dart.vim2
-rw-r--r--autoload/db/adapter/ecto.vim2
-rw-r--r--autoload/elixir/indent.vim2
-rw-r--r--autoload/elixir/util.vim2
-rw-r--r--autoload/elm.vim2
-rw-r--r--autoload/elm/util.vim2
-rw-r--r--autoload/fish.vim2
-rw-r--r--autoload/go/config.vim2
-rw-r--r--autoload/graphql.vim2
-rw-r--r--autoload/htmlcomplete.vim2
-rw-r--r--autoload/jsx_pretty/comment.vim2
-rw-r--r--autoload/jsx_pretty/indent.vim2
-rw-r--r--autoload/julia.vim2
-rw-r--r--autoload/julia/doc.vim2
-rw-r--r--autoload/julia_blocks.vim2
-rw-r--r--autoload/julia_latex_symbols.vim2
-rw-r--r--autoload/pony.vim2
-rw-r--r--autoload/puppet/align.vim2
-rw-r--r--autoload/puppet/ctags.vim2
-rw-r--r--autoload/puppet/format.vim2
-rw-r--r--autoload/python/utils.vim2
-rw-r--r--autoload/rubycomplete.vim2
-rw-r--r--autoload/rust.vim2
-rw-r--r--autoload/rust/debugging.vim2
-rw-r--r--autoload/rust/delimitmate.vim2
-rw-r--r--autoload/rust/tags.vim2
-rw-r--r--autoload/rustfmt.vim2
-rw-r--r--autoload/smt2.vim2
-rw-r--r--autoload/terraform.vim2
-rw-r--r--autoload/vifm/edit.vim2
-rw-r--r--autoload/vifm/globals.vim2
-rw-r--r--autoload/vital/_crystal.vim2
-rw-r--r--autoload/vital/_crystal/ColorEcho.vim2
-rw-r--r--autoload/vital/_crystal/Data/List.vim2
-rw-r--r--autoload/vital/_crystal/Data/String.vim2
-rw-r--r--autoload/vital/_crystal/Process.vim2
-rw-r--r--autoload/vital/_crystal/Web/JSON.vim2
-rw-r--r--autoload/vital/crystal.vim2
-rw-r--r--autoload/vital/crystal.vital2
-rw-r--r--autoload/xml/aria.vim2
-rw-r--r--autoload/xml/html5.vim2
-rw-r--r--autoload/zig/config.vim2
-rw-r--r--autoload/zig/fmt.vim2
-rw-r--r--autoload/zig/list.vim2
-rw-r--r--autoload/zig/util.vim2
53 files changed, 106 insertions, 0 deletions
diff --git a/autoload/LaTeXtoUnicode.vim b/autoload/LaTeXtoUnicode.vim
index 19a759a2..045ebb9c 100644
--- a/autoload/LaTeXtoUnicode.vim
+++ b/autoload/LaTeXtoUnicode.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
+
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Support for LaTex-to-Unicode conversion as in the Julia REPL "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -649,4 +650,5 @@ function! LaTeXtoUnicode#Toggle()
endif
return
endfunction
+
endif
diff --git a/autoload/RstFold.vim b/autoload/RstFold.vim
index 4d865808..30d00874 100644
--- a/autoload/RstFold.vim
+++ b/autoload/RstFold.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rst') == -1
+
" Author: Antony Lee <anntzer.lee@gmail.com>
" Description: Helper functions for reStructuredText syntax folding
" Last Modified: 2018-12-29
@@ -61,4 +62,5 @@ function RstFold#GetRstFoldText()
let text = thisline =~ '^\([=`:.''"~^_*+#-]\)\1\+$' ? getline(v:foldstart + 1) : thisline
return indent . text
endfunction
+
endif
diff --git a/autoload/cargo.vim b/autoload/cargo.vim
index ea63bd7a..f24db923 100644
--- a/autoload/cargo.vim
+++ b/autoload/cargo.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
function! cargo#Load()
" Utility call to get this script loaded, for debugging
endfunction
@@ -114,4 +115,5 @@ function! cargo#runtarget(args)
endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/cargo/quickfix.vim b/autoload/cargo/quickfix.vim
index b108da2f..e1e5b9d2 100644
--- a/autoload/cargo/quickfix.vim
+++ b/autoload/cargo/quickfix.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
function! cargo#quickfix#CmdPre() abort
if &filetype ==# 'rust' && get(b:, 'current_compiler', '') ==# 'cargo'
" Preserve the current directory, and 'lcd' to the nearest Cargo file.
@@ -25,4 +26,5 @@ function! cargo#quickfix#CmdPost() abort
endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/clojurecomplete.vim b/autoload/clojurecomplete.vim
index 88aacd74..9128b3d1 100644
--- a/autoload/clojurecomplete.vim
+++ b/autoload/clojurecomplete.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
+
" Vim completion script
" Language: Clojure
" Maintainer: Sung Pae <self@sungpae.com>
@@ -21,4 +22,5 @@ function! clojurecomplete#Complete(findstart, base)
endfunction
" vim:sts=8:sw=8:ts=8:noet
+
endif
diff --git a/autoload/coffee.vim b/autoload/coffee.vim
index b308f4c1..76eab3b0 100644
--- a/autoload/coffee.vim
+++ b/autoload/coffee.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
+
" Language: CoffeeScript
" Maintainer: Mick Koch <mick@kochm.co>
" URL: http://github.com/kchmck/vim-coffee-script
@@ -53,4 +54,5 @@ function! coffee#CoffeeSetUpErrorFormat()
\%f:%l:%c:\ error:\ %m,
\%-G%.%#
endfunction
+
endif
diff --git a/autoload/crystal_lang.vim b/autoload/crystal_lang.vim
index 2acfdb76..a04d456b 100644
--- a/autoload/crystal_lang.vim
+++ b/autoload/crystal_lang.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
let s:save_cpo = &cpo
set cpo&vim
@@ -339,4 +340,5 @@ endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
+
endif
diff --git a/autoload/csv.vim b/autoload/csv.vim
index 66fc6a17..d807e729 100644
--- a/autoload/csv.vim
+++ b/autoload/csv.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'csv') == -1
+
" Filetype plugin for editing CSV files. "{{{1
" Author: Christian Brabandt <cb@256bit.org>
" Version: 0.31
@@ -3186,4 +3187,5 @@ endfun
" Vim Modeline " {{{2
" vim: set foldmethod=marker et sw=0 sts=-1 ts=4:
+
endif
diff --git a/autoload/dart.vim b/autoload/dart.vim
index 39ebc9e3..de67efe3 100644
--- a/autoload/dart.vim
+++ b/autoload/dart.vim
@@ -1,5 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
+
function! s:error(text) abort
echohl Error
echomsg printf('[dart-vim-plugin] %s', a:text)
@@ -183,4 +184,5 @@ function! dart#setModifiable() abort
setlocal nomodifiable
endif
endfunction
+
endif
diff --git a/autoload/db/adapter/ecto.vim b/autoload/db/adapter/ecto.vim
index e8e543ba..4012f04a 100644
--- a/autoload/db/adapter/ecto.vim
+++ b/autoload/db/adapter/ecto.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
+
let s:path = expand('<sfile>:h')
let s:cmd = join(['mix', 'run', '--no-start', '--no-compile', shellescape(s:path.'/get_repos.exs')])
@@ -19,4 +20,5 @@ endfunction
function! db#adapter#ecto#complete_opaque(url) abort
return map(s:repo_list(), 'v:val[0]')
endfunction
+
endif
diff --git a/autoload/elixir/indent.vim b/autoload/elixir/indent.vim
index 2924f0e6..e7c8f0ea 100644
--- a/autoload/elixir/indent.vim
+++ b/autoload/elixir/indent.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
+
if !exists("g:elixir_indent_max_lookbehind")
let g:elixir_indent_max_lookbehind = 30
endif
@@ -360,4 +361,5 @@ function! elixir#indent#handle_inside_generic_block(context)
return -1
endif
endfunction
+
endif
diff --git a/autoload/elixir/util.vim b/autoload/elixir/util.vim
index d6b6541a..04cb8375 100644
--- a/autoload/elixir/util.vim
+++ b/autoload/elixir/util.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
+
function! elixir#util#get_filename(word) abort
let word = a:word
@@ -23,4 +24,5 @@ function! elixir#util#get_filename(word) abort
return word
endfunction
+
endif
diff --git a/autoload/elm.vim b/autoload/elm.vim
index 46ada03b..10d3c0b4 100644
--- a/autoload/elm.vim
+++ b/autoload/elm.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
+
let s:errors = []
function! s:elmOracle(...) abort
@@ -380,4 +381,5 @@ function! s:ExecuteInRoot(cmd) abort
return l:out
endfunction
+
endif
diff --git a/autoload/elm/util.vim b/autoload/elm/util.vim
index cd509cc1..6bc7cc9e 100644
--- a/autoload/elm/util.vim
+++ b/autoload/elm/util.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
+
" IsWin returns 1 if current OS is Windows or 0 otherwise
fun! elm#util#IsWin() abort
let l:win = ['win16', 'win32', 'win32unix', 'win64', 'win95']
@@ -179,4 +180,5 @@ function! s:error(msg)
echohl NONE
let v:errmsg = a:msg
endfunction
+
endif
diff --git a/autoload/fish.vim b/autoload/fish.vim
index 2ad976d7..fcf10bd1 100644
--- a/autoload/fish.vim
+++ b/autoload/fish.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
+
function! fish#Indent()
let l:shiftwidth = shiftwidth()
let l:prevlnum = prevnonblank(v:lnum - 1)
@@ -66,4 +67,5 @@ endfunction
function! fish#errorformat()
return '%Afish: %m,%-G%*\\ ^,%-Z%f (line %l):%s'
endfunction
+
endif
diff --git a/autoload/go/config.vim b/autoload/go/config.vim
index 3815bb6a..3301edae 100644
--- a/autoload/go/config.vim
+++ b/autoload/go/config.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
+
" don't spam the user when Vim is started in Vi compatibility mode
let s:cpo_save = &cpo
set cpo&vim
@@ -491,4 +492,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 ts=2 et
+
endif
diff --git a/autoload/graphql.vim b/autoload/graphql.vim
index 85b654ad..976e9362 100644
--- a/autoload/graphql.vim
+++ b/autoload/graphql.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
+
" Vim plugin
" Language: GraphQL
" Maintainer: Jon Parise <jon@indelible.org>
@@ -11,4 +12,5 @@ let g:autoloaded_graphql = 1
function! graphql#javascript_tags() abort
return get(g:, 'graphql_javascript_tags', ['gql', 'graphql', 'Relay.QL'])
endfunction
+
endif
diff --git a/autoload/htmlcomplete.vim b/autoload/htmlcomplete.vim
index 002a6f0e..135f716b 100644
--- a/autoload/htmlcomplete.vim
+++ b/autoload/htmlcomplete.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion script
" Language: HTML and XHTML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
@@ -840,4 +841,5 @@ function! htmlcomplete#CheckDoctype() " {{{
endfunction
" }}}
" vim:set foldmethod=marker:
+
endif
diff --git a/autoload/jsx_pretty/comment.vim b/autoload/jsx_pretty/comment.vim
index 4ce4e3a7..1569cd82 100644
--- a/autoload/jsx_pretty/comment.vim
+++ b/autoload/jsx_pretty/comment.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
+
function! jsx_pretty#comment#update_commentstring(original)
let syn_current = s:syn_name(line('.'), col('.'))
let syn_start = s:syn_name(line('.'), 1)
@@ -36,4 +37,5 @@ function! s:syn_contains(lnum, cnum, syn_name)
let syn_names = map(stack, 'synIDattr(v:val, "name")')
return index(syn_names, a:syn_name) >= 0
endfunction
+
endif
diff --git a/autoload/jsx_pretty/indent.vim b/autoload/jsx_pretty/indent.vim
index 4c108416..15e177e0 100644
--- a/autoload/jsx_pretty/indent.vim
+++ b/autoload/jsx_pretty/indent.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
+
if exists('*shiftwidth')
function! s:sw()
return shiftwidth()
@@ -213,4 +214,5 @@ function! jsx_pretty#indent#get(js_indent)
endif
endfunction
+
endif
diff --git a/autoload/julia.vim b/autoload/julia.vim
index f2fc6123..6bb70dce 100644
--- a/autoload/julia.vim
+++ b/autoload/julia.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
+
function! julia#set_syntax_version(jvers)
if &filetype != "julia"
echo "Not a Julia file"
@@ -183,4 +184,5 @@ function! julia#gotodefinition()
endfunction
endif
+
endif
diff --git a/autoload/julia/doc.vim b/autoload/julia/doc.vim
index 1dee5aed..7907c94a 100644
--- a/autoload/julia/doc.vim
+++ b/autoload/julia/doc.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
+
" path to the julia binary to communicate with
if has('win32') || has('win64')
if exists('g:julia#doc#juliapath')
@@ -241,4 +242,5 @@ function! s:likely(str) abort
let output = systemlist(cmd)
return split(matchstr(output[0], '\C^search: \zs.*'))
endfunction
+
endif
diff --git a/autoload/julia_blocks.vim b/autoload/julia_blocks.vim
index 46b18484..81c204cf 100644
--- a/autoload/julia_blocks.vim
+++ b/autoload/julia_blocks.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
+
" Facilities for moving around Julia blocks (e.g. if/end, function/end etc.)
" (AKA a collection of horrible hacks)
@@ -793,4 +794,5 @@ function! s:cursor_moved(...)
let b:jlblk_did_select = b:jlblk_doing_select
let b:jlblk_doing_select = 0
endfunction
+
endif
diff --git a/autoload/julia_latex_symbols.vim b/autoload/julia_latex_symbols.vim
index 51deacc8..70d5d3de 100644
--- a/autoload/julia_latex_symbols.vim
+++ b/autoload/julia_latex_symbols.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
+
" This file is autogenerated from the script 'generate_latex_symbols_table.jl'
" The symbols are based on Julia version 1.3.0-DEV.263
@@ -3329,4 +3330,5 @@ function! julia_latex_symbols#get_dict()
\ '\:baggage_claim:': '🛄',
\ '\:left_luggage:': '🛅'}
endfunction
+
endif
diff --git a/autoload/pony.vim b/autoload/pony.vim
index 52e1981a..d7ab5d02 100644
--- a/autoload/pony.vim
+++ b/autoload/pony.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
+
" Vim plugin file
" Language: Pony
" Maintainer: Jak Wings
@@ -531,4 +532,5 @@ endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
+
endif
diff --git a/autoload/puppet/align.vim b/autoload/puppet/align.vim
index c45bc90f..b7dc1eda 100644
--- a/autoload/puppet/align.vim
+++ b/autoload/puppet/align.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
+
function! puppet#align#IndentLevel(lnum)
return indent(a:lnum) / &shiftwidth
endfunction
@@ -67,4 +68,5 @@ function! puppet#align#AlignHashrockets(...) abort
endif
endfor
endfunction
+
endif
diff --git a/autoload/puppet/ctags.vim b/autoload/puppet/ctags.vim
index 469b1213..8f4d108f 100644
--- a/autoload/puppet/ctags.vim
+++ b/autoload/puppet/ctags.vim
@@ -1,5 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
+
if !exists('s:ctags_type')
let s:ctags_type = 0
endif
@@ -35,4 +36,5 @@ function! puppet#ctags#Type()
return s:ctags_type
endfunction
+
endif
diff --git a/autoload/puppet/format.vim b/autoload/puppet/format.vim
index c608f228..cfd48155 100644
--- a/autoload/puppet/format.vim
+++ b/autoload/puppet/format.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
+
"
" Simple format using puppet's l:indents and align hashrockets function
function! puppet#format#Format() abort
@@ -56,4 +57,5 @@ function! puppet#format#Fallback(start_lnum, end_lnum) abort
endfunction
+
endif
diff --git a/autoload/python/utils.vim b/autoload/python/utils.vim
index 8a8170d6..c2e64874 100644
--- a/autoload/python/utils.vim
+++ b/autoload/python/utils.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1
+
" Sometimes Python issues debugging messages
" which don't belong to a call stack context
" this function filters these messages
@@ -16,4 +17,5 @@ function! python#utils#fix_qflist() " {{{
call setqflist(l:traceback)
endif
endfunction " }}}
+
endif
diff --git a/autoload/rubycomplete.vim b/autoload/rubycomplete.vim
index 02a2d014..98f3b275 100644
--- a/autoload/rubycomplete.vim
+++ b/autoload/rubycomplete.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim completion script
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
@@ -875,4 +876,5 @@ call s:DefRuby()
"}}} ruby-side code
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
+
endif
diff --git a/autoload/rust.vim b/autoload/rust.vim
index 1051c842..e8a675f3 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Author: Kevin Ballard
" Description: Helper functions for Rust commands/mappings
" Last Modified: May 27, 2014
@@ -545,4 +546,5 @@ endfunction
" }}}1
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rust/debugging.vim b/autoload/rust/debugging.vim
index 40a691c3..066e2451 100644
--- a/autoload/rust/debugging.vim
+++ b/autoload/rust/debugging.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim
let s:global_variable_list = [
@@ -102,4 +103,5 @@ function! rust#debugging#InfoToFile(filename) abort
endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rust/delimitmate.vim b/autoload/rust/delimitmate.vim
index 8d88a8f4..6707adc5 100644
--- a/autoload/rust/delimitmate.vim
+++ b/autoload/rust/delimitmate.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'
" For this buffer, when delimitMate issues the `User delimitMate_map`
@@ -43,4 +44,5 @@ endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rust/tags.vim b/autoload/rust/tags.vim
index d3a3e645..21faaabb 100644
--- a/autoload/rust/tags.vim
+++ b/autoload/rust/tags.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Tagbar support code, for the sake of not automatically overriding its
" configuration in case Universal Ctags is detected.
@@ -16,4 +17,5 @@ function! rust#tags#IsUCtags() abort
endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rustfmt.vim b/autoload/rustfmt.vim
index 4118eef4..151ac82d 100644
--- a/autoload/rustfmt.vim
+++ b/autoload/rustfmt.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Author: Stephen Sugden <stephen@stephensugden.com>
"
" Adapted from https://github.com/fatih/vim-go
@@ -261,4 +262,5 @@ endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/smt2.vim b/autoload/smt2.vim
index 655e0d3f..294a64c6 100644
--- a/autoload/smt2.vim
+++ b/autoload/smt2.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'smt2') == -1
+
" Invokes the solver on current file
function! smt2#RunSolver()
silent !clear
@@ -29,4 +30,5 @@ function! smt2#PrintSolverVersion()
silent !clear
execute "!" . g:smt2_solver_command . " " . g:smt2_solver_version_switch
endfunction
+
endif
diff --git a/autoload/terraform.vim b/autoload/terraform.vim
index 7ddfd9d1..8372b004 100644
--- a/autoload/terraform.vim
+++ b/autoload/terraform.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1
+
function! terraform#fmt()
if !filereadable(expand('%:p'))
return
@@ -55,4 +56,5 @@ function! terraform#commands(A, L, P)
\ 'state'
\ ]
endfunction
+
endif
diff --git a/autoload/vifm/edit.vim b/autoload/vifm/edit.vim
index c19155a9..4d97c23b 100644
--- a/autoload/vifm/edit.vim
+++ b/autoload/vifm/edit.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
+
" common functions for vifm command-line editing buffer filetype plugins
" Maintainer: xaizek <xaizek@posteo.net>
" Last Change: August 18, 2013
@@ -13,4 +14,5 @@ function! vifm#edit#Init()
" Start buffer editing in insert mode
startinsert
endfunction
+
endif
diff --git a/autoload/vifm/globals.vim b/autoload/vifm/globals.vim
index f7ae6a98..5e74abde 100644
--- a/autoload/vifm/globals.vim
+++ b/autoload/vifm/globals.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
+
" common functions for vifm plugin related to globals
" Maintainer: xaizek <xaizek@posteo.net>
" Last Change: November 03, 2018
@@ -30,4 +31,5 @@ function! vifm#globals#Init()
let g:vifm_embed_term = has('gui_running')
endif
endfunction
+
endif
diff --git a/autoload/vital/_crystal.vim b/autoload/vital/_crystal.vim
index 08972e34..27e1b310 100644
--- a/autoload/vital/_crystal.vim
+++ b/autoload/vital/_crystal.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
let s:_plugin_name = expand('<sfile>:t:r')
function! vital#{s:_plugin_name}#new() abort
@@ -8,4 +9,5 @@ endfunction
function! vital#{s:_plugin_name}#function(funcname) abort
silent! return function(a:funcname)
endfunction
+
endif
diff --git a/autoload/vital/_crystal/ColorEcho.vim b/autoload/vital/_crystal/ColorEcho.vim
index de55e0e6..af9b4374 100644
--- a/autoload/vital/_crystal/ColorEcho.vim
+++ b/autoload/vital/_crystal/ColorEcho.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
" ___vital___
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
" Do not mofidify the code nor insert new lines before '" ___vital___'
@@ -186,4 +187,5 @@ endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
+
endif
diff --git a/autoload/vital/_crystal/Data/List.vim b/autoload/vital/_crystal/Data/List.vim
index 8595fa53..c84e1ffa 100644
--- a/autoload/vital/_crystal/Data/List.vim
+++ b/autoload/vital/_crystal/Data/List.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
" ___vital___
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
" Do not mofidify the code nor insert new lines before '" ___vital___'
@@ -463,4 +464,5 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set et ts=2 sts=2 sw=2 tw=0:
+
endif
diff --git a/autoload/vital/_crystal/Data/String.vim b/autoload/vital/_crystal/Data/String.vim
index e8c72a47..fe37c6a5 100644
--- a/autoload/vital/_crystal/Data/String.vim
+++ b/autoload/vital/_crystal/Data/String.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
" ___vital___
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
" Do not mofidify the code nor insert new lines before '" ___vital___'
@@ -626,4 +627,5 @@ endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set et ts=2 sts=2 sw=2 tw=0:
+
endif
diff --git a/autoload/vital/_crystal/Process.vim b/autoload/vital/_crystal/Process.vim
index 5f19af55..9a159932 100644
--- a/autoload/vital/_crystal/Process.vim
+++ b/autoload/vital/_crystal/Process.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
" ___vital___
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
" Do not mofidify the code nor insert new lines before '" ___vital___'
@@ -172,4 +173,5 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set et ts=2 sts=2 sw=2 tw=0:
+
endif
diff --git a/autoload/vital/_crystal/Web/JSON.vim b/autoload/vital/_crystal/Web/JSON.vim
index ef9cd5e9..e9567fef 100644
--- a/autoload/vital/_crystal/Web/JSON.vim
+++ b/autoload/vital/_crystal/Web/JSON.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
" ___vital___
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
" Do not mofidify the code nor insert new lines before '" ___vital___'
@@ -177,4 +178,5 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set et ts=2 sts=2 sw=2 tw=0:
+
endif
diff --git a/autoload/vital/crystal.vim b/autoload/vital/crystal.vim
index f5858108..e1fb611b 100644
--- a/autoload/vital/crystal.vim
+++ b/autoload/vital/crystal.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
let s:plugin_name = expand('<sfile>:t:r')
let s:vital_base_dir = expand('<sfile>:h')
let s:project_root = expand('<sfile>:h:h:h')
@@ -327,4 +328,5 @@ else
return a:list
endfunction
endif
+
endif
diff --git a/autoload/vital/crystal.vital b/autoload/vital/crystal.vital
index 19e5f642..4a13eb01 100644
--- a/autoload/vital/crystal.vital
+++ b/autoload/vital/crystal.vital
@@ -1,8 +1,10 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
+
crystal
bee84ae23effb0510137ad177e98c94d8b3657a6
Process
Web.JSON
ColorEcho
+
endif
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 6d2d1a01..4fbd25d9 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for WAI-ARIA data file
" Language: HTML + WAI-ARIA
" Maintainer: othree <othree@gmail.com>
@@ -456,4 +457,5 @@ let g:xmldata_aria = {
\ 'default_role': default_role,
\ 'vimariaattrinfo': aria_attributes_value
\ }
+
endif
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index a8ab04dc..e9e05ee8 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for HTML5 data file
" Language: HTML (version 5.1 Draft 2016 Jan 13)
" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
@@ -869,4 +870,5 @@ let g:xmldata_html5 = {
\ 'wbr': ['/>', ''],
\ },
\ }
+
endif
diff --git a/autoload/zig/config.vim b/autoload/zig/config.vim
index f208af45..328ba100 100644
--- a/autoload/zig/config.vim
+++ b/autoload/zig/config.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
+
function! zig#config#ListTypeCommands() abort
return get(g:, 'zig_list_type_commands', {})
endfunction
@@ -38,4 +39,5 @@ endfunction
function! zig#config#Debug() abort
return get(g:, 'zig_debug', [])
endfunction
+
endif
diff --git a/autoload/zig/fmt.vim b/autoload/zig/fmt.vim
index 47c49cd4..d3aa9641 100644
--- a/autoload/zig/fmt.vim
+++ b/autoload/zig/fmt.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
+
" Adapted from fatih/vim-go: autoload/go/fmt.vim
"
" Copyright 2011 The Go Authors. All rights reserved.
@@ -165,4 +166,5 @@ function! zig#fmt#ToggleFmtAutoSave() abort
endfunction
" vim: sw=2 ts=2 et
+
endif
diff --git a/autoload/zig/list.vim b/autoload/zig/list.vim
index 9716e8c9..bdd43376 100644
--- a/autoload/zig/list.vim
+++ b/autoload/zig/list.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
+
" Adapted from fatih/vim-go: autoload/go/list.vim
"
" Copyright 2011 The Go Authors. All rights reserved.
@@ -157,4 +158,5 @@ function! zig#list#Type(for) abort
endfunction
" vim: sw=2 ts=2 et
+
endif
diff --git a/autoload/zig/util.vim b/autoload/zig/util.vim
index 8545d48b..bc454dd9 100644
--- a/autoload/zig/util.vim
+++ b/autoload/zig/util.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
+
" Adapted from vim-go: autoload/go/util.vim
"
" Copyright 2011 The Go Authors. All rights reserved.
@@ -389,4 +390,5 @@ function! zig#util#HasDebug(flag)
endfunction
" vim: sw=2 ts=2 et
+
endif