Change plugin guard for disabling, fixes #371
This commit is contained in:
parent
ed677c34d5
commit
1597b7b766
@ -1,7 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haskell') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
setlocal comments=s1fl:{-,mb:-,ex:-},:--
|
setlocal comments=s1fl:{-,mb:-,ex:-},:--
|
||||||
setlocal iskeyword+=-,.,*
|
setlocal iskeyword+=-,.,*
|
||||||
setlocal commentstring=--\ %s
|
setlocal commentstring=--\ %s
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cjsx') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("loaded_matchit")
|
if exists("loaded_matchit")
|
||||||
let b:match_ignorecase = 0
|
let b:match_ignorecase = 0
|
||||||
let b:match_words = '(:),\[:\],{:},<:>,' .
|
let b:match_words = '(:),\[:\],{:},<:>,' .
|
||||||
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
|
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haskell') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--
|
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--
|
||||||
setlocal iskeyword+='
|
setlocal iskeyword+='
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: JavaScript
|
" Language: JavaScript
|
||||||
" Maintainer: vim-javascript community
|
" Maintainer: vim-javascript community
|
||||||
@ -12,5 +14,3 @@ if exists('b:undo_ftplugin')
|
|||||||
else
|
else
|
||||||
let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<'
|
let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsx') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jsx') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Vim ftplugin file
|
" Vim ftplugin file
|
||||||
"
|
"
|
||||||
@ -19,5 +21,3 @@ if exists("loaded_matchit")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
setlocal suffixesadd+=.jsx
|
setlocal suffixesadd+=.jsx
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'puppet') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists('g:puppet_align_hashes')
|
if !exists('g:puppet_align_hashes')
|
||||||
let g:puppet_align_hashes = 1
|
let g:puppet_align_hashes = 1
|
||||||
endif
|
endif
|
||||||
@ -16,5 +18,3 @@ if g:puppet_align_hashes && exists(':Tabularize')
|
|||||||
call search(repeat('\([^=]\|=[^>]\)*=>',column).'\s\{-\}'.repeat('.',position),'ce',line('.'))
|
call search(repeat('\([^=]\|=[^>]\)*=>',column).'\s\{-\}'.repeat('.',position),'ce',line('.'))
|
||||||
endfunction
|
endfunction
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'terraform') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists('g:terraform_align')
|
if !exists('g:terraform_align')
|
||||||
let g:terraform_align = 0
|
let g:terraform_align = 0
|
||||||
endif
|
endif
|
||||||
@ -81,5 +83,3 @@ if exists('g:terraform_commentstring')
|
|||||||
else
|
else
|
||||||
setlocal commentstring=#%s
|
setlocal commentstring=#%s
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'yaml') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: Yaml
|
" Language: Yaml
|
||||||
" Author: Henrique Barcelos
|
" Author: Henrique Barcelos
|
||||||
@ -7,5 +9,3 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
|
|||||||
" URL: https://github.com/hjpbarcelos
|
" URL: https://github.com/hjpbarcelos
|
||||||
setlocal autoindent sw=2 ts=2 expandtab
|
setlocal autoindent sw=2 ts=2 expandtab
|
||||||
" vim:set sw=2:
|
" vim:set sw=2:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Mick Koch <mick@kochm.co>
|
" Maintainer: Mick Koch <mick@kochm.co>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -33,5 +35,3 @@ function! GetCoffeeHtmlIndent(curlinenum)
|
|||||||
" Otherwise use html indenting.
|
" Otherwise use html indenting.
|
||||||
exec 'return ' s:htmlIndentExpr
|
exec 'return ' s:htmlIndentExpr
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsx') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jsx') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Vim indent file
|
" Vim indent file
|
||||||
"
|
"
|
||||||
@ -114,5 +116,3 @@ fu! GetJsxIndent()
|
|||||||
|
|
||||||
return ind
|
return ind
|
||||||
endfu
|
endfu
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'objc') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'objc') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: Objective-C
|
" Language: Objective-C
|
||||||
" Maintainer: Bjorn Winckler <bjorn.winckler@gmail.com>
|
" Maintainer: Bjorn Winckler <bjorn.winckler@gmail.com>
|
||||||
@ -93,5 +95,3 @@ endfunction
|
|||||||
" Restore 'cpo' options
|
" Restore 'cpo' options
|
||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c++11') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'c++11') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: C Additions
|
" Language: C Additions
|
||||||
" Maintainer: Jon Haggblad <jon@haeggblad.com>
|
" Maintainer: Jon Haggblad <jon@haeggblad.com>
|
||||||
@ -304,5 +306,3 @@ hi def link cBoolean Boolean
|
|||||||
"hi def link cDelimiter Delimiter
|
"hi def link cDelimiter Delimiter
|
||||||
" foldmethod=syntax fix, courtesy of Ivan Freitas
|
" foldmethod=syntax fix, courtesy of Ivan Freitas
|
||||||
"hi def link cBraces Delimiter
|
"hi def link cBraces Delimiter
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cjsx') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cjsx') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
let s:current_syntax=b:current_syntax
|
let s:current_syntax=b:current_syntax
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
@ -27,5 +29,3 @@ hi def link cjsxTagName Function
|
|||||||
hi def link cjsxEntity Statement
|
hi def link cjsxEntity Statement
|
||||||
hi def link cjsxEntityPunct Type
|
hi def link cjsxEntityPunct Type
|
||||||
hi def link cjsxAttribProperty Type
|
hi def link cjsxAttribProperty Type
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c++11') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'c++11') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: C++ Additions
|
" Language: C++ Additions
|
||||||
" Maintainer: Jon Haggblad <jon@haeggblad.com>
|
" Maintainer: Jon Haggblad <jon@haeggblad.com>
|
||||||
@ -2092,5 +2094,3 @@ if version >= 508 || !exists("did_cpp_syntax_inits")
|
|||||||
HiLink cppRawDelimiter Delimiter
|
HiLink cppRawDelimiter Delimiter
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Sven Felix Oberquelle <Svelix.Github@gmail.com>
|
" Maintainer: Sven Felix Oberquelle <Svelix.Github@gmail.com>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -23,5 +25,3 @@ if exists('s:current_syntax_save')
|
|||||||
let b:current_syntax = s:current_syntax_save
|
let b:current_syntax = s:current_syntax_save
|
||||||
unlet s:current_syntax_save
|
unlet s:current_syntax_save
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'scala') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Extends standard help syntax with highlighting of Scala code.
|
" Extends standard help syntax with highlighting of Scala code.
|
||||||
"
|
"
|
||||||
" Place code between !sc! and !/sc! delimiters. These will be hidden if Vim is
|
" Place code between !sc! and !/sc! delimiters. These will be hidden if Vim is
|
||||||
@ -14,5 +16,3 @@ if has('conceal')
|
|||||||
else
|
else
|
||||||
syntax region rgnScala matchgroup=Ignore start='!sc!' end='!/sc!' contains=@ScalaCode
|
syntax region rgnScala matchgroup=Ignore start='!sc!' end='!/sc!' contains=@ScalaCode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Mick Koch <mick@kochm.co>
|
" Maintainer: Mick Koch <mick@kochm.co>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -20,10 +22,10 @@ if exists('s:current_syntax_save')
|
|||||||
let b:current_syntax = s:current_syntax_save
|
let b:current_syntax = s:current_syntax_save
|
||||||
unlet s:current_syntax_save
|
unlet s:current_syntax_save
|
||||||
endif
|
endif
|
||||||
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'glsl') != -1
|
||||||
|
finish
|
||||||
endif
|
endif
|
||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
|
|
||||||
|
|
||||||
" Language: OpenGL Shading Language
|
" Language: OpenGL Shading Language
|
||||||
" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
|
" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
|
||||||
|
|
||||||
@ -33,10 +35,10 @@ syn region ShaderScript
|
|||||||
\ keepend
|
\ keepend
|
||||||
\ end="</script>"me=s-1
|
\ end="</script>"me=s-1
|
||||||
\ contains=@GLSL,htmlScriptTag,@htmlPreproc
|
\ contains=@GLSL,htmlScriptTag,@htmlPreproc
|
||||||
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||||
|
finish
|
||||||
endif
|
endif
|
||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
|
||||||
|
|
||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: HTML (version 5.1)
|
" Language: HTML (version 5.1)
|
||||||
" Last Change: 2017 Feb 15
|
" Last Change: 2017 Feb 15
|
||||||
@ -49,10 +51,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
|||||||
" https://github.com/w3c/html/issues/694
|
" https://github.com/w3c/html/issues/694
|
||||||
syntax region htmlComment start=+<!--+ end=+-->+ contains=@Spell
|
syntax region htmlComment start=+<!--+ end=+-->+ contains=@Spell
|
||||||
syntax region htmlComment start=+<!DOCTYPE+ keepend end=+>+
|
syntax region htmlComment start=+<!DOCTYPE+ keepend end=+>+
|
||||||
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'less') != -1
|
||||||
|
finish
|
||||||
endif
|
endif
|
||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1
|
|
||||||
|
|
||||||
if !exists("g:less_html_style_tags")
|
if !exists("g:less_html_style_tags")
|
||||||
let g:less_html_style_tags = 1
|
let g:less_html_style_tags = 1
|
||||||
endif
|
endif
|
||||||
@ -79,5 +81,3 @@ syn region lessStyle start=+<style [^>]*type *=[^>]*text/less[^>]*>+ keepend end
|
|||||||
if exists("s:pre_less_cur_syn")
|
if exists("s:pre_less_cur_syn")
|
||||||
let b:current_syntax = s:pre_less_cur_syn
|
let b:current_syntax = s:pre_less_cur_syn
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'graphql') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
let s:current_syntax = b:current_syntax
|
let s:current_syntax = b:current_syntax
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
@ -23,5 +25,3 @@ hi def link graphqlTemplateExpression jsTemplateExpression
|
|||||||
|
|
||||||
syn cluster jsExpression add=graphqlTaggedTemplate
|
syn cluster jsExpression add=graphqlTaggedTemplate
|
||||||
syn cluster graphqlTaggedTemplate add=graphqlTemplateString
|
syn cluster graphqlTaggedTemplate add=graphqlTemplateString
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsx') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jsx') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
"
|
"
|
||||||
@ -65,5 +67,3 @@ syn cluster jsExpression add=jsxRegion
|
|||||||
|
|
||||||
" Allow jsxRegion to contain reserved words.
|
" Allow jsxRegion to contain reserved words.
|
||||||
syn cluster javascriptNoReserved add=jsxRegion
|
syn cluster javascriptNoReserved add=jsxRegion
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mathematica') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'mathematica') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"Vim conceal file
|
"Vim conceal file
|
||||||
" Language: Mathematica
|
" Language: Mathematica
|
||||||
" Maintainer: R. Menon <rsmenon@icloud.com>
|
" Maintainer: R. Menon <rsmenon@icloud.com>
|
||||||
@ -103,5 +105,3 @@ endif
|
|||||||
|
|
||||||
hi! link Conceal Normal
|
hi! link Conceal Normal
|
||||||
setlocal conceallevel=2
|
setlocal conceallevel=2
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'objc') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'objc') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ARC type modifiers
|
" ARC type modifiers
|
||||||
syn keyword objcTypeModifier __bridge __bridge_retained __bridge_transfer __autoreleasing __strong __weak __unsafe_unretained
|
syn keyword objcTypeModifier __bridge __bridge_retained __bridge_transfer __autoreleasing __strong __weak __unsafe_unretained
|
||||||
|
|
||||||
@ -19,5 +21,3 @@ syn match objcDirective "@property\|@synthesize\|@dynamic\|@package"
|
|||||||
|
|
||||||
" Highlight property attributes as if they were type modifiers
|
" Highlight property attributes as if they were type modifiers
|
||||||
hi def link objcPropertyAttribute objcTypeModifier
|
hi def link objcPropertyAttribute objcTypeModifier
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rspec') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rspec') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"
|
"
|
||||||
" An rspec syntax file
|
" An rspec syntax file
|
||||||
" Originally from http://www.vim.org/scripts/script.php?script_id=2286
|
" Originally from http://www.vim.org/scripts/script.php?script_id=2286
|
||||||
@ -32,5 +34,3 @@ syntax keyword rspecMessageExpectation advise any_args any_number_of_times anyth
|
|||||||
highlight link rspecMessageExpectation Function
|
highlight link rspecMessageExpectation Function
|
||||||
|
|
||||||
let b:current_syntax = 'rspec'
|
let b:current_syntax = 'rspec'
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yard') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'yard') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Ruby syntax extensions for highlighting YARD documentation.
|
" Ruby syntax extensions for highlighting YARD documentation.
|
||||||
"
|
"
|
||||||
" Author: Joel Holdbrooks <https://github.com/noprompt>
|
" Author: Joel Holdbrooks <https://github.com/noprompt>
|
||||||
@ -126,5 +128,3 @@ hi def link yardParametricType yardComment
|
|||||||
hi def link yardArrow yardComment
|
hi def link yardArrow yardComment
|
||||||
hi def link yardHashAngle yardComment
|
hi def link yardHashAngle yardComment
|
||||||
hi def link yardHashCurly yardComment
|
hi def link yardHashCurly yardComment
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
if !get(g:, 'rust_conceal', 0) || !has('conceal') || &encoding !=# 'utf-8'
|
if !get(g:, 'rust_conceal', 0) || !has('conceal') || &encoding !=# 'utf-8'
|
||||||
@ -41,5 +43,3 @@ if !get(g:, 'rust_conceal_mod_path', 0)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" adds support for cleverref package
|
" adds support for cleverref package
|
||||||
" \Cref, \cref, \cpageref, \labelcref, \labelcpageref
|
" \Cref, \cref, \cpageref, \labelcref, \labelcpageref
|
||||||
syn region texRefZone matchgroup=texStatement start="\\Cref{" end="}\|%stopzone\>" contains=@texRefGroup
|
syn region texRefZone matchgroup=texStatement start="\\Cref{" end="}\|%stopzone\>" contains=@texRefGroup
|
||||||
@ -9,5 +11,3 @@ syn region texRefZone matchgroup=texStatement start="\\\(label\|\)c\(page\|\)re
|
|||||||
syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>"
|
syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>"
|
||||||
syn match texInputFile "\\lstinputlisting\s*\(\[.*\]\)\={.\{-}}" contains=texStatement,texInputCurlies,texInputFileOpt
|
syn match texInputFile "\\lstinputlisting\s*\(\[.*\]\)\={.\{-}}" contains=texStatement,texInputCurlies,texInputFileOpt
|
||||||
syn match texZone "\\lstinline\s*\(\[.*\]\)\={.\{-}}"
|
syn match texZone "\\lstinline\s*\(\[.*\]\)\={.\{-}}"
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'graphql') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
let s:current_syntax = b:current_syntax
|
let s:current_syntax = b:current_syntax
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
@ -22,5 +24,3 @@ hi def link graphqlTemplateExpression typescriptTemplateSubstitution
|
|||||||
|
|
||||||
syn cluster typescriptExpression add=graphqlTaggedTemplate
|
syn cluster typescriptExpression add=graphqlTaggedTemplate
|
||||||
syn cluster graphqlTaggedTemplate add=graphqlTemplateString
|
syn cluster graphqlTaggedTemplate add=graphqlTemplateString
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'yaml') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" To make this file do stuff, add something like the following (without the
|
" To make this file do stuff, add something like the following (without the
|
||||||
" leading ") to your ~/.vimrc:
|
" leading ") to your ~/.vimrc:
|
||||||
" au BufNewFile,BufRead *.yaml,*.yml so ~/src/PyYaml/YAML.vim
|
" au BufNewFile,BufRead *.yaml,*.yml so ~/src/PyYaml/YAML.vim
|
||||||
@ -61,5 +63,3 @@ hi link yamlInline Operator
|
|||||||
hi link yamlBlock Operator
|
hi link yamlBlock Operator
|
||||||
hi link yamlString String
|
hi link yamlString String
|
||||||
hi link yamlEscape Special
|
hi link yamlEscape Special
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Support for LaTex-to-Unicode conversion as in the Julia REPL "
|
" Support for LaTex-to-Unicode conversion as in the Julia REPL "
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
@ -650,5 +652,3 @@ function! LaTeXtoUnicode#Toggle()
|
|||||||
endif
|
endif
|
||||||
return
|
return
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rst') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rst') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Author: Antony Lee <anntzer.lee@gmail.com>
|
" Author: Antony Lee <anntzer.lee@gmail.com>
|
||||||
" Description: Helper functions for reStructuredText syntax folding
|
" Description: Helper functions for reStructuredText syntax folding
|
||||||
" Last Modified: 2018-12-29
|
" Last Modified: 2018-12-29
|
||||||
@ -62,5 +64,3 @@ function RstFold#GetRstFoldText()
|
|||||||
let text = thisline =~ '^\([=`:.''"~^_*+#-]\)\1\+$' ? getline(v:foldstart + 1) : thisline
|
let text = thisline =~ '^\([=`:.''"~^_*+#-]\)\1\+$' ? getline(v:foldstart + 1) : thisline
|
||||||
return indent . text
|
return indent . text
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! cargo#Load()
|
function! cargo#Load()
|
||||||
" Utility call to get this script loaded, for debugging
|
" Utility call to get this script loaded, for debugging
|
||||||
endfunction
|
endfunction
|
||||||
@ -115,5 +117,3 @@ function! cargo#runtarget(args)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! cargo#quickfix#CmdPre() abort
|
function! cargo#quickfix#CmdPre() abort
|
||||||
if &filetype ==# 'rust' && get(b:, 'current_compiler', '') ==# 'cargo'
|
if &filetype ==# 'rust' && get(b:, 'current_compiler', '') ==# 'cargo'
|
||||||
" Preserve the current directory, and 'lcd' to the nearest Cargo file.
|
" Preserve the current directory, and 'lcd' to the nearest Cargo file.
|
||||||
@ -26,5 +28,3 @@ function! cargo#quickfix#CmdPost() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'clojure') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: Clojure
|
" Language: Clojure
|
||||||
" Maintainer: Sung Pae <self@sungpae.com>
|
" Maintainer: Sung Pae <self@sungpae.com>
|
||||||
@ -22,5 +24,3 @@ function! clojurecomplete#Complete(findstart, base)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" vim:sts=8:sw=8:ts=8:noet
|
" vim:sts=8:sw=8:ts=8:noet
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Mick Koch <mick@kochm.co>
|
" Maintainer: Mick Koch <mick@kochm.co>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -54,5 +56,3 @@ function! coffee#CoffeeSetUpErrorFormat()
|
|||||||
\%f:%l:%c:\ error:\ %m,
|
\%f:%l:%c:\ error:\ %m,
|
||||||
\%-G%.%#
|
\%-G%.%#
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
@ -316,5 +318,3 @@ endfunction
|
|||||||
|
|
||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dart') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
function! s:error(text) abort
|
function! s:error(text) abort
|
||||||
echohl Error
|
echohl Error
|
||||||
@ -170,5 +172,3 @@ function! dart#setModifiable() abort
|
|||||||
setlocal nomodifiable
|
setlocal nomodifiable
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists("g:elixir_indent_max_lookbehind")
|
if !exists("g:elixir_indent_max_lookbehind")
|
||||||
let g:elixir_indent_max_lookbehind = 30
|
let g:elixir_indent_max_lookbehind = 30
|
||||||
endif
|
endif
|
||||||
@ -343,5 +345,3 @@ function! elixir#indent#handle_inside_generic_block(context)
|
|||||||
return -1
|
return -1
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! elixir#util#get_filename(word) abort
|
function! elixir#util#get_filename(word) abort
|
||||||
let word = a:word
|
let word = a:word
|
||||||
|
|
||||||
@ -24,5 +26,3 @@ function! elixir#util#get_filename(word) abort
|
|||||||
|
|
||||||
return word
|
return word
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elm') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:errors = []
|
let s:errors = []
|
||||||
|
|
||||||
function! s:elmOracle(...) abort
|
function! s:elmOracle(...) abort
|
||||||
@ -381,5 +383,3 @@ function! s:ExecuteInRoot(cmd) abort
|
|||||||
|
|
||||||
return l:out
|
return l:out
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elm') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" IsWin returns 1 if current OS is Windows or 0 otherwise
|
" IsWin returns 1 if current OS is Windows or 0 otherwise
|
||||||
fun! elm#util#IsWin() abort
|
fun! elm#util#IsWin() abort
|
||||||
let l:win = ['win16', 'win32', 'win32unix', 'win64', 'win95']
|
let l:win = ['win16', 'win32', 'win32unix', 'win64', 'win95']
|
||||||
@ -174,5 +176,3 @@ function! s:error(msg)
|
|||||||
echohl NONE
|
echohl NONE
|
||||||
let v:errmsg = a:msg
|
let v:errmsg = a:msg
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! fish#Indent()
|
function! fish#Indent()
|
||||||
let l:shiftwidth = shiftwidth()
|
let l:shiftwidth = shiftwidth()
|
||||||
let l:prevlnum = prevnonblank(v:lnum - 1)
|
let l:prevlnum = prevnonblank(v:lnum - 1)
|
||||||
@ -67,5 +69,3 @@ endfunction
|
|||||||
function! fish#errorformat()
|
function! fish#errorformat()
|
||||||
return '%Afish: %m,%-G%*\\ ^,%-Z%f (line %l):%s'
|
return '%Afish: %m,%-G%*\\ ^,%-Z%f (line %l):%s'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" don't spam the user when Vim is started in Vi compatibility mode
|
" don't spam the user when Vim is started in Vi compatibility mode
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
@ -458,5 +460,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: sw=2 ts=2 et
|
" vim: sw=2 ts=2 et
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: HTML and XHTML
|
" Language: HTML and XHTML
|
||||||
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
|
||||||
@ -841,5 +843,3 @@ function! htmlcomplete#CheckDoctype() " {{{
|
|||||||
endfunction
|
endfunction
|
||||||
" }}}
|
" }}}
|
||||||
" vim:set foldmethod=marker:
|
" vim:set foldmethod=marker:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! julia#set_syntax_version(jvers)
|
function! julia#set_syntax_version(jvers)
|
||||||
if &filetype != "julia"
|
if &filetype != "julia"
|
||||||
echo "Not a Julia file"
|
echo "Not a Julia file"
|
||||||
@ -184,5 +186,3 @@ function! julia#gotodefinition()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" path to the julia binary to communicate with
|
" path to the julia binary to communicate with
|
||||||
if has('win32') || has('win64')
|
if has('win32') || has('win64')
|
||||||
if exists('g:julia#doc#juliapath')
|
if exists('g:julia#doc#juliapath')
|
||||||
@ -242,5 +244,3 @@ function! s:likely(str) abort
|
|||||||
let output = systemlist(cmd)
|
let output = systemlist(cmd)
|
||||||
return split(matchstr(output[0], '\C^search: \zs.*'))
|
return split(matchstr(output[0], '\C^search: \zs.*'))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Facilities for moving around Julia blocks (e.g. if/end, function/end etc.)
|
" Facilities for moving around Julia blocks (e.g. if/end, function/end etc.)
|
||||||
" (AKA a collection of horrible hacks)
|
" (AKA a collection of horrible hacks)
|
||||||
|
|
||||||
@ -794,5 +796,3 @@ function! s:cursor_moved(...)
|
|||||||
let b:jlblk_did_select = b:jlblk_doing_select
|
let b:jlblk_did_select = b:jlblk_doing_select
|
||||||
let b:jlblk_doing_select = 0
|
let b:jlblk_doing_select = 0
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" This file is autogenerated from the script 'generate_latex_symbols_table.jl'
|
" This file is autogenerated from the script 'generate_latex_symbols_table.jl'
|
||||||
" The symbols are based on Julia version 1.1.0-DEV.695
|
" The symbols are based on Julia version 1.1.0-DEV.695
|
||||||
|
|
||||||
@ -3329,5 +3331,3 @@ function! julia_latex_symbols#get_dict()
|
|||||||
\ '\:baggage_claim:': '🛄',
|
\ '\:baggage_claim:': '🛄',
|
||||||
\ '\:left_luggage:': '🛅'}
|
\ '\:left_luggage:': '🛅'}
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'pony') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim plugin file
|
" Vim plugin file
|
||||||
" Language: Pony
|
" Language: Pony
|
||||||
" Maintainer: Jak Wings
|
" Maintainer: Jak Wings
|
||||||
@ -532,5 +534,3 @@ endfunction
|
|||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'python-compiler') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Sometimes Python issues debugging messages
|
" Sometimes Python issues debugging messages
|
||||||
" which don't belong to a call stack context
|
" which don't belong to a call stack context
|
||||||
" this function filters these messages
|
" this function filters these messages
|
||||||
@ -17,5 +19,3 @@ function! python#utils#fix_qflist() " {{{
|
|||||||
call setqflist(l:traceback)
|
call setqflist(l:traceback)
|
||||||
endif
|
endif
|
||||||
endfunction " }}}
|
endfunction " }}}
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'racket') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'racket') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists("g:raco_command")
|
if !exists("g:raco_command")
|
||||||
let g:raco_command = system("which raco")
|
let g:raco_command = system("which raco")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: Ruby
|
" Language: Ruby
|
||||||
" Maintainer: Mark Guzman <segfault@hasno.info>
|
" Maintainer: Mark Guzman <segfault@hasno.info>
|
||||||
@ -876,5 +878,3 @@ call s:DefRuby()
|
|||||||
"}}} ruby-side code
|
"}}} ruby-side code
|
||||||
|
|
||||||
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Author: Kevin Ballard
|
" Author: Kevin Ballard
|
||||||
" Description: Helper functions for Rust commands/mappings
|
" Description: Helper functions for Rust commands/mappings
|
||||||
" Last Modified: May 27, 2014
|
" Last Modified: May 27, 2014
|
||||||
@ -546,5 +548,3 @@ endfunction
|
|||||||
" }}}1
|
" }}}1
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim
|
" For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim
|
||||||
|
|
||||||
let s:global_variable_list = [
|
let s:global_variable_list = [
|
||||||
@ -101,5 +103,3 @@ function! rust#debugging#InfoToFile(filename) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'
|
let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'
|
||||||
|
|
||||||
" For this buffer, when delimitMate issues the `User delimitMate_map`
|
" For this buffer, when delimitMate issues the `User delimitMate_map`
|
||||||
@ -44,5 +46,3 @@ endfunction
|
|||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Author: Stephen Sugden <stephen@stephensugden.com>
|
" Author: Stephen Sugden <stephen@stephensugden.com>
|
||||||
"
|
"
|
||||||
" Adapted from https://github.com/fatih/vim-go
|
" Adapted from https://github.com/fatih/vim-go
|
||||||
@ -248,5 +250,3 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scss') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'scss') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" usage:
|
" usage:
|
||||||
" set indentexpr=scss_indent#GetIndent(v:lnum)
|
" set indentexpr=scss_indent#GetIndent(v:lnum)
|
||||||
fun! scss_indent#GetIndent(lnum)
|
fun! scss_indent#GetIndent(lnum)
|
||||||
@ -37,5 +39,3 @@ fun! scss_indent#GetIndent(lnum)
|
|||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vifm') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" common functions for vifm command-line editing buffer filetype plugins
|
" common functions for vifm command-line editing buffer filetype plugins
|
||||||
" Maintainer: xaizek <xaizek@posteo.net>
|
" Maintainer: xaizek <xaizek@posteo.net>
|
||||||
" Last Change: August 18, 2013
|
" Last Change: August 18, 2013
|
||||||
@ -14,5 +16,3 @@ function! vifm#edit#Init()
|
|||||||
" Start buffer editing in insert mode
|
" Start buffer editing in insert mode
|
||||||
startinsert
|
startinsert
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vifm') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" common functions for vifm plugin related to globals
|
" common functions for vifm plugin related to globals
|
||||||
" Maintainer: xaizek <xaizek@posteo.net>
|
" Maintainer: xaizek <xaizek@posteo.net>
|
||||||
" Last Change: November 03, 2018
|
" Last Change: November 03, 2018
|
||||||
@ -31,5 +33,3 @@ function! vifm#globals#Init()
|
|||||||
let g:vifm_embed_term = has('gui_running')
|
let g:vifm_embed_term = has('gui_running')
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:_plugin_name = expand('<sfile>:t:r')
|
let s:_plugin_name = expand('<sfile>:t:r')
|
||||||
|
|
||||||
function! vital#{s:_plugin_name}#new() abort
|
function! vital#{s:_plugin_name}#new() abort
|
||||||
@ -9,5 +11,3 @@ endfunction
|
|||||||
function! vital#{s:_plugin_name}#function(funcname) abort
|
function! vital#{s:_plugin_name}#function(funcname) abort
|
||||||
silent! return function(a:funcname)
|
silent! return function(a:funcname)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ___vital___
|
" ___vital___
|
||||||
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
||||||
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
||||||
@ -187,5 +189,3 @@ endfunction
|
|||||||
|
|
||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ___vital___
|
" ___vital___
|
||||||
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
||||||
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
||||||
@ -464,5 +466,3 @@ let &cpo = s:save_cpo
|
|||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ___vital___
|
" ___vital___
|
||||||
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
||||||
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
||||||
@ -627,5 +629,3 @@ endfunction
|
|||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ___vital___
|
" ___vital___
|
||||||
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
||||||
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
||||||
@ -173,5 +175,3 @@ let &cpo = s:save_cpo
|
|||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" ___vital___
|
" ___vital___
|
||||||
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
" NOTE: lines between '" ___vital___' is generated by :Vitalize.
|
||||||
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
" Do not mofidify the code nor insert new lines before '" ___vital___'
|
||||||
@ -178,5 +180,3 @@ let &cpo = s:save_cpo
|
|||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
||||||
|
|
||||||
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
" vim:set et ts=2 sts=2 sw=2 tw=0:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:plugin_name = expand('<sfile>:t:r')
|
let s:plugin_name = expand('<sfile>:t:r')
|
||||||
let s:vital_base_dir = expand('<sfile>:h')
|
let s:vital_base_dir = expand('<sfile>:h')
|
||||||
let s:project_root = expand('<sfile>:h:h:h')
|
let s:project_root = expand('<sfile>:h:h:h')
|
||||||
@ -328,5 +330,3 @@ else
|
|||||||
return a:list
|
return a:list
|
||||||
endfunction
|
endfunction
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
crystal
|
crystal
|
||||||
bee84ae23effb0510137ad177e98c94d8b3657a6
|
bee84ae23effb0510137ad177e98c94d8b3657a6
|
||||||
|
|
||||||
Process
|
Process
|
||||||
Web.JSON
|
Web.JSON
|
||||||
ColorEcho
|
ColorEcho
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim completion for WAI-ARIA data file
|
" Vim completion for WAI-ARIA data file
|
||||||
" Language: HTML + WAI-ARIA
|
" Language: HTML + WAI-ARIA
|
||||||
" Maintainer: othree <othree@gmail.com>
|
" Maintainer: othree <othree@gmail.com>
|
||||||
@ -457,5 +459,3 @@ let g:xmldata_aria = {
|
|||||||
\ 'default_role': default_role,
|
\ 'default_role': default_role,
|
||||||
\ 'vimariaattrinfo': aria_attributes_value
|
\ 'vimariaattrinfo': aria_attributes_value
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim completion for HTML5 data file
|
" Vim completion for HTML5 data file
|
||||||
" Language: HTML (version 5.1 Draft 2016 Jan 13)
|
" Language: HTML (version 5.1 Draft 2016 Jan 13)
|
||||||
" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
|
" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
|
||||||
@ -870,5 +872,3 @@ let g:xmldata_html5 = {
|
|||||||
\ 'wbr': ['/>', ''],
|
\ 'wbr': ['/>', ''],
|
||||||
\ },
|
\ },
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Mick Koch <mick@kochm.co>
|
" Maintainer: Mick Koch <mick@kochm.co>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -15,5 +17,3 @@ call coffee#CoffeeSetUpVariables()
|
|||||||
exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' .
|
exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' .
|
||||||
\ g:coffee_cake_options . ' $*', ' ')
|
\ g:coffee_cake_options . ' $*', ' ')
|
||||||
call coffee#CoffeeSetUpErrorFormat()
|
call coffee#CoffeeSetUpErrorFormat()
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Cargo Compiler
|
" Compiler: Cargo Compiler
|
||||||
" Maintainer: Damien Radtke <damienradtke@gmail.com>
|
" Maintainer: Damien Radtke <damienradtke@gmail.com>
|
||||||
@ -49,5 +51,3 @@ unlet s:save_cpo
|
|||||||
" vint: +ProhibitAbbreviationOption
|
" vint: +ProhibitAbbreviationOption
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: CoffeeScript
|
" Language: CoffeeScript
|
||||||
" Maintainer: Mick Koch <mick@kochm.co>
|
" Maintainer: Mick Koch <mick@kochm.co>
|
||||||
" URL: http://github.com/kchmck/vim-coffee-script
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||||||
@ -82,5 +84,3 @@ augroup CoffeeUpdateMakePrg
|
|||||||
autocmd BufWritePre,BufFilePost call s:UpdateMakePrg()
|
autocmd BufWritePre,BufFilePost call s:UpdateMakePrg()
|
||||||
endif
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('current_compiler')
|
if exists('current_compiler')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -11,5 +13,3 @@ endif
|
|||||||
|
|
||||||
CompilerSet errorformat=%f:%l:\ %t:\ %m
|
CompilerSet errorformat=%f:%l:\ %t:\ %m
|
||||||
CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck
|
CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cryptol') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Cryptol version 1.8.19-academic Compiler
|
" Compiler: Cryptol version 1.8.19-academic Compiler
|
||||||
" Maintainer: Edward O'Callaghan <victoredwardocallaghan AT gmail DOT com>
|
" Maintainer: Edward O'Callaghan <victoredwardocallaghan AT gmail DOT com>
|
||||||
@ -20,5 +22,3 @@ CompilerSet errorformat& " use the default 'errorformat'
|
|||||||
|
|
||||||
" "%<" means the current file name without extension.
|
" "%<" means the current file name without extension.
|
||||||
CompilerSet makeprg=cryptol\ -o\ %<\ %
|
CompilerSet makeprg=cryptol\ -o\ %<\ %
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cucumber') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Cucumber
|
" Compiler: Cucumber
|
||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
@ -29,5 +31,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim:set sw=2 sts=2:
|
" vim:set sw=2 sts=2:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: eRuby
|
" Language: eRuby
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
@ -39,5 +41,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler plugin
|
" Vim compiler plugin
|
||||||
" Language: JavaScript
|
" Language: JavaScript
|
||||||
" Maintainer: vim-javascript community
|
" Maintainer: vim-javascript community
|
||||||
@ -16,5 +18,3 @@ endif
|
|||||||
|
|
||||||
CompilerSet makeprg=eslint\ -f\ compact\ %
|
CompilerSet makeprg=eslint\ -f\ compact\ %
|
||||||
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m
|
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -25,5 +27,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('current_compiler')
|
if exists('current_compiler')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -7,5 +9,3 @@ let current_compiler = 'fish'
|
|||||||
|
|
||||||
CompilerSet makeprg=fish\ --no-execute\ %
|
CompilerSet makeprg=fish\ --no-execute\ %
|
||||||
execute 'CompilerSet errorformat='.escape(fish#errorformat(), ' ')
|
execute 'CompilerSet errorformat='.escape(fish#errorformat(), ' ')
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Copyright 2013 The Go Authors. All rights reserved.
|
" Copyright 2013 The Go Authors. All rights reserved.
|
||||||
" Use of this source code is governed by a BSD-style
|
" Use of this source code is governed by a BSD-style
|
||||||
" license that can be found in the LICENSE file.
|
" license that can be found in the LICENSE file.
|
||||||
@ -49,5 +51,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: sw=2 ts=2 et
|
" vim: sw=2 ts=2 et
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haml') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Haml
|
" Compiler: Haml
|
||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
@ -28,5 +30,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim:set sw=2 sts=2:
|
" vim:set sw=2 sts=2:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'livescript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: LiveScript
|
" Language: LiveScript
|
||||||
" Maintainer: George Zahariev
|
" Maintainer: George Zahariev
|
||||||
" URL: http://github.com/gkz/vim-ls
|
" URL: http://github.com/gkz/vim-ls
|
||||||
@ -74,5 +76,3 @@ augroup LiveScriptUpdateMakePrg
|
|||||||
autocmd BufFilePost,BufWritePost call s:UpdateMakePrg()
|
autocmd BufFilePost,BufWritePost call s:UpdateMakePrg()
|
||||||
endif
|
endif
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('current_compiler')
|
if exists('current_compiler')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -11,5 +13,3 @@ endif
|
|||||||
|
|
||||||
CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z
|
CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z
|
||||||
CompilerSet makeprg=mix
|
CompilerSet makeprg=mix
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nim') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -25,5 +27,3 @@ unlet s:cpo_save
|
|||||||
|
|
||||||
let g:syntastic_nim_checkers = ['nim']
|
let g:syntastic_nim_checkers = ['nim']
|
||||||
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nix') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('current_compiler')
|
if exists('current_compiler')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -11,5 +13,3 @@ endif
|
|||||||
|
|
||||||
CompilerSet errorformat=error:\ %m\ at\ %f:%l:%c,builder\ for\ \'%m\'\ failed\ with\ exit\ code\ %n,fixed-output\ derivation\ produced\ path\ \'%s\'\ with\ %m
|
CompilerSet errorformat=error:\ %m\ at\ %f:%l:%c,builder\ for\ \'%m\'\ failed\ with\ exit\ code\ %n,fixed-output\ derivation\ produced\ path\ \'%s\'\ with\ %m
|
||||||
CompilerSet makeprg=nix-build
|
CompilerSet makeprg=nix-build
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'python-compiler') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Unit testing tool for Python
|
" Compiler: Unit testing tool for Python
|
||||||
" Maintainer: Ali Aliev <ali@aliev.me>
|
" Maintainer: Ali Aliev <ali@aliev.me>
|
||||||
@ -67,5 +69,3 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" vim:foldmethod=marker:foldlevel=0
|
" vim:foldmethod=marker:foldlevel=0
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: Rake
|
" Language: Rake
|
||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
@ -39,5 +41,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: RSpec
|
" Language: RSpec
|
||||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||||
@ -35,5 +37,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: Ruby
|
" Language: Ruby
|
||||||
" Function: Syntax check and/or error reporting
|
" Function: Syntax check and/or error reporting
|
||||||
@ -44,5 +46,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: Test::Unit - Ruby Unit Testing Framework
|
" Language: Test::Unit - Ruby Unit Testing Framework
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
@ -35,5 +37,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim: nowrap sw=2 sts=2 ts=8:
|
" vim: nowrap sw=2 sts=2 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: Rust Compiler
|
" Compiler: Rust Compiler
|
||||||
" Maintainer: Chris Morgan <me@chrismorgan.info>
|
" Maintainer: Chris Morgan <me@chrismorgan.info>
|
||||||
@ -53,5 +55,3 @@ unlet s:save_cpo
|
|||||||
" vint: +ProhibitAbbreviationOption
|
" vint: +ProhibitAbbreviationOption
|
||||||
|
|
||||||
" vim: set et sw=4 sts=4 ts=8:
|
" vim: set et sw=4 sts=4 ts=8:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'scala') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: Scala SBT (http://www.scala-sbt.org/)
|
" Language: Scala SBT (http://www.scala-sbt.org/)
|
||||||
" Maintainer: Derek Wyatt
|
" Maintainer: Derek Wyatt
|
||||||
@ -30,5 +32,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
" vim:set sw=2 sts=2 ts=8 et:
|
" vim:set sw=2 sts=2 ts=8 et:
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -30,5 +32,3 @@ CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m
|
|||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
syntax region jsFlowDefinition contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster containedin=jsParen
|
syntax region jsFlowDefinition contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster containedin=jsParen
|
||||||
syntax region jsFlowArgumentDef contained start=/:/ end=/\%(\s*[,)]\|=>\@!\)\@=/ contains=@jsFlowCluster
|
syntax region jsFlowArgumentDef contained start=/:/ end=/\%(\s*[,)]\|=>\@!\)\@=/ contains=@jsFlowCluster
|
||||||
syntax region jsFlowArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster,jsComment fold
|
syntax region jsFlowArray contained matchgroup=jsFlowNoise start=/\[/ end=/\]/ contains=@jsFlowCluster,jsComment fold
|
||||||
@ -109,5 +111,3 @@ if version >= 508 || !exists("did_javascript_syn_inits")
|
|||||||
HiLink jsFlowObjectFuncName jsObjectFuncName
|
HiLink jsFlowObjectFuncName jsObjectFuncName
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
"" syntax coloring for javadoc comments (HTML)
|
"" syntax coloring for javadoc comments (HTML)
|
||||||
syntax region jsComment matchgroup=jsComment start="/\*\s*" end="\*/" contains=jsDocTags,jsCommentTodo,jsCvsTag,@jsHtml,@Spell fold
|
syntax region jsComment matchgroup=jsComment start="/\*\s*" end="\*/" contains=jsDocTags,jsCommentTodo,jsCvsTag,@jsHtml,@Spell fold
|
||||||
|
|
||||||
@ -39,5 +41,3 @@ if version >= 508 || !exists("did_javascript_syn_inits")
|
|||||||
HiLink jsDocParam Label
|
HiLink jsDocParam Label
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite
|
syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite
|
||||||
syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite
|
syntax match jsDocType contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|\/\)\+" nextgroup=jsDocParam skipwhite
|
||||||
syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
|
syntax match jsDocParam contained "\%(#\|\$\|\w\|\"\|-\|\.\|:\|{\|}\|\/\|\[\|]\|=\)\+"
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dockerfile') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
function! DockerfileReplaceInstruction(original, replacement)
|
function! DockerfileReplaceInstruction(original, replacement)
|
||||||
let syn = synIDtrans(synID(line("."), col(".") - 1, 0))
|
let syn = synIDtrans(synID(line("."), col(".") - 1, 0))
|
||||||
if syn != hlID("Comment") && syn != hlID("Constant") && strlen(getline(".")) == 0
|
if syn != hlID("Comment") && syn != hlID("Constant") && strlen(getline(".")) == 0
|
||||||
@ -27,5 +29,3 @@ inoreabbr <silent> <buffer> workdir <C-R>=DockerfileReplaceInstruction("workdir"
|
|||||||
inoreabbr <silent> <buffer> arg <C-R>=DockerfileReplaceInstruction("arg", "ARG")<CR>
|
inoreabbr <silent> <buffer> arg <C-R>=DockerfileReplaceInstruction("arg", "ARG")<CR>
|
||||||
inoreabbr <silent> <buffer> onbuild <C-R>=DockerfileReplaceInstruction("onbuild", "ONBUILD")<CR>
|
inoreabbr <silent> <buffer> onbuild <C-R>=DockerfileReplaceInstruction("onbuild", "ONBUILD")<CR>
|
||||||
inoreabbr <silent> <buffer> stopsignal <C-R>=DockerfileReplaceInstruction("stopsignal", "STOPSIGNAL")<CR>
|
inoreabbr <silent> <buffer> stopsignal <C-R>=DockerfileReplaceInstruction("stopsignal", "STOPSIGNAL")<CR>
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Slow yaml highlighting workaround
|
" Slow yaml highlighting workaround
|
||||||
if exists('+regexpengine') && ('®expengine' == 0)
|
if exists('+regexpengine') && ('®expengine' == 0)
|
||||||
setlocal regexpengine=1
|
setlocal regexpengine=1
|
||||||
endif
|
endif
|
||||||
set isfname+=@-@
|
set isfname+=@-@
|
||||||
set path+=./../templates,./../files,templates,files
|
set path+=./../templates,./../files,templates,files
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
finish
|
finish
|
||||||
else
|
else
|
||||||
@ -9,5 +11,3 @@ endif
|
|||||||
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions-=c
|
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions-=c
|
||||||
|
|
||||||
let b:undo_ftplugin = "setl comments< commentstring< formatoptions<"
|
let b:undo_ftplugin = "setl comments< commentstring< formatoptions<"
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'blade') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim filetype plugin
|
" Vim filetype plugin
|
||||||
" Language: Blade (Laravel)
|
" Language: Blade (Laravel)
|
||||||
" Maintainer: Jason Walton <jwalton512@gmail.com>
|
" Maintainer: Jason Walton <jwalton512@gmail.com>
|
||||||
@ -33,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_skip = 'synIDattr(synID(line("."), col("."), 0), "name") !=# "bladeKeyword"'
|
||||||
let b:match_ignorecase = 0
|
let b:match_ignorecase = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'caddyfile') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Language: Caddyfile
|
" Language: Caddyfile
|
||||||
" Author: Josh Glendenning <josh@isobit.io>
|
" Author: Josh Glendenning <josh@isobit.io>
|
||||||
|
|
||||||
@ -24,5 +26,3 @@ else
|
|||||||
let g:NERDCustomDelimiters = {'caddyfile': s:delimiters}
|
let g:NERDCustomDelimiters = {'caddyfile': s:delimiters}
|
||||||
endif
|
endif
|
||||||
unlet s:delimiters
|
unlet s:delimiters
|
||||||
|
|
||||||
endif
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'clojure') != -1
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Clojure
|
" Language: Clojure
|
||||||
" Author: Meikel Brandmeyer <mb@kotka.de>
|
" Author: Meikel Brandmeyer <mb@kotka.de>
|
||||||
@ -95,5 +97,3 @@ let &cpo = s:cpo_save
|
|||||||
unlet! s:cpo_save s:setting s:dir
|
unlet! s:cpo_save s:setting s:dir
|
||||||
|
|
||||||
" vim:sts=8:sw=8:ts=8:noet
|
" vim:sts=8:sw=8:ts=8:noet
|
||||||
|
|
||||||
endif
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user