mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Respect symlinks for resolving vim-polyglot as fallback, closes #605
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/8th.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('8th', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '8th') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: 8th
|
||||
@@ -342,5 +337,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: ts=8:sw=4:nocindent:smartindent:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/Jenkinsfile.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('jenkins', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jenkins') == -1
|
||||
|
||||
runtime syntax/groovy.vim
|
||||
syn keyword jenkinsfileBuiltInVariable currentBuild
|
||||
@@ -133,5 +128,3 @@ hi link jenkinsFileDockerKeyword jenkinsfilePipelineStep
|
||||
let b:current_syntax = 'Jenkinsfile'
|
||||
|
||||
" vim:set et sw=0 ts=2 ft=vim tw=78:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/a2ps.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('a2ps', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'a2ps') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: a2ps(1) configuration file
|
||||
@@ -78,5 +73,3 @@ let b:current_syntax = "a2ps"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/a65.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('a65', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'a65') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: xa 6502 cross assembler
|
||||
@@ -160,5 +155,3 @@ hi def link a65HiLo Number
|
||||
|
||||
|
||||
let b:current_syntax = "a65"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aap.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aap', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aap') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: A-A-P recipe
|
||||
@@ -165,5 +160,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/abap.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('abap', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abap') == -1
|
||||
|
||||
" Vim ABAP syntax file
|
||||
" Language: SAP - ABAP/R4
|
||||
@@ -202,5 +197,4 @@ hi def link abapHex Number
|
||||
|
||||
let b:current_syntax = "abap"
|
||||
|
||||
" vim: ts=8 sw=2
|
||||
endif
|
||||
" vim: ts=8 sw=2
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/abaqus.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('abaqus', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abaqus') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Abaqus finite element input file (www.hks.com)
|
||||
@@ -42,5 +37,3 @@ hi def link abaqusBadLine Error
|
||||
|
||||
|
||||
let b:current_syntax = "abaqus"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/abc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('abc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: abc music notation language
|
||||
@@ -58,5 +53,3 @@ hi def link abcNote Constant
|
||||
let b:current_syntax = "abc"
|
||||
|
||||
" vim: ts=4
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/abel.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('abel', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abel') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ABEL
|
||||
@@ -168,5 +163,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim:ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/acedb.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('acedb', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acedb') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AceDB model files
|
||||
@@ -117,5 +112,3 @@ let b:current_syntax = "acedb"
|
||||
" The structure of the model.wrm file is sensitive to mixed tab and space
|
||||
" indentation and assumes tabs are 8 so...
|
||||
se ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ada.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ada', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ada') == -1
|
||||
|
||||
"----------------------------------------------------------------------------
|
||||
" Description: Vim Ada syntax file
|
||||
@@ -375,5 +370,3 @@ finish " 1}}}
|
||||
"------------------------------------------------------------------------------
|
||||
"vim: textwidth=78 nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
|
||||
"vim: foldmethod=marker
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ahdl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ahdl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ahdl') == -1
|
||||
|
||||
" Vim syn file
|
||||
" Language: Altera AHDL
|
||||
@@ -88,5 +83,3 @@ hi def link ahdlTodo Todo
|
||||
|
||||
let b:current_syntax = "ahdl"
|
||||
" vim:ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aidl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aidl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aidl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: aidl (Android Interface Definition Language)
|
||||
@@ -30,5 +25,3 @@ hi def link aidlParamDir StorageClass
|
||||
hi def link aidlKeyword Keyword
|
||||
|
||||
let b:current_syntax = "aidl"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/alsaconf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('alsaconf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'alsaconf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: alsaconf(8) configuration file
|
||||
@@ -56,5 +51,3 @@ let b:current_syntax = "alsaconf"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aml.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aml', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aml') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AML (ARC/INFO Arc Macro Language)
|
||||
@@ -151,5 +146,3 @@ hi def link amlTab amlArcCmd
|
||||
|
||||
|
||||
let b:current_syntax = "aml"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ampl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ampl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ampl') == -1
|
||||
|
||||
" Language: ampl (A Mathematical Programming Language)
|
||||
" Maintainer: Krief David <david.krief@etu.enseeiht.fr> or <david_krief@hotmail.com>
|
||||
@@ -147,5 +142,3 @@ let b:current_syntax = "ampl"
|
||||
" vim: ts=8
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ansible.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Ansible YAML/Jinja templates
|
||||
@@ -118,5 +113,3 @@ else
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ansible"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ansible_hosts.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ansible', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Ansible hosts files
|
||||
@@ -38,5 +33,3 @@ if exists("g:ansible_attribute_highlight")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ansible_hosts"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ant.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ant', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ant') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ANT build file (xml)
|
||||
@@ -104,5 +99,3 @@ let &cpo = s:ant_cpo_save
|
||||
unlet s:ant_cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/apache.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('apache', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apache') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Apache configuration (httpd.conf, srm.conf, access.conf, .htaccess)
|
||||
@@ -210,5 +205,3 @@ hi def link apacheUserID Number
|
||||
|
||||
|
||||
let b:current_syntax = "apache"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/apachestyle.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('apachestyle', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apachestyle') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Apache-Style configuration files (proftpd.conf/apache.conf/..)
|
||||
@@ -61,5 +56,3 @@ hi def link apTagError Error
|
||||
|
||||
let b:current_syntax = "apachestyle"
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/apiblueprint.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('apiblueprint', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1
|
||||
|
||||
runtime! syntax/markdown.vim
|
||||
unlet! b:current_syntax
|
||||
@@ -41,5 +36,3 @@ highlight default link apibActionRelationKey Identifier
|
||||
|
||||
let b:current_syntax = 'apiblueprint'
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/applescript.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('applescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AppleScript
|
||||
@@ -252,5 +247,3 @@ hi def link scptTodo Todo
|
||||
|
||||
let b:current_syntax = "applescript"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aptconf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aptconf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aptconf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: APT config file
|
||||
@@ -581,5 +576,3 @@ let b:current_syntax = "aptconf"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/arch.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('arch', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arch') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: GNU Arch inventory file
|
||||
@@ -48,5 +43,3 @@ let b:current_syntax = "arch"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/arduino.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('arduino', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Arduino
|
||||
@@ -173,5 +168,3 @@ hi def link arduinoType Type
|
||||
hi def link arduinoConstant Constant
|
||||
hi def link arduinoFunc Function
|
||||
hi def link arduinoIdentifier Identifier
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/art.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('art', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'art') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ART-IM and ART*Enterprise
|
||||
@@ -57,5 +52,3 @@ let b:current_syntax = "art"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/asciidoc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('asciidoc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asciidoc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AsciiDoc
|
||||
@@ -190,5 +185,3 @@ hi def link asciidocURL Macro
|
||||
let b:current_syntax = "asciidoc"
|
||||
|
||||
" vim: wrap et sw=2 sts=2:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/asl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('acpiasl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ACPI ASL files
|
||||
@@ -115,5 +110,3 @@ hi def link aslNumber Number
|
||||
let b:current_syntax = "asl"
|
||||
syn sync minlines=200
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/asn.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('asn', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asn') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ASN.1
|
||||
@@ -80,5 +75,3 @@ unlet s:cpo_save
|
||||
let b:current_syntax = "asn"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aspperl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aspperl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aspperl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Active State's PerlScript (ASP)
|
||||
@@ -32,5 +27,3 @@ syn region AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<%=\
|
||||
syn region AspPerlScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<script\s\+language="\=perlscript"\=[^>]*>+ end=+</script>+ contains=@AspPerlScript
|
||||
|
||||
let b:current_syntax = "aspperl"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/aspvbs.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('aspvbs', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'aspvbs') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Microsoft VBScript Web Content (ASP)
|
||||
@@ -189,5 +184,3 @@ if main_syntax == 'aspvbs'
|
||||
endif
|
||||
|
||||
" vim: ts=8:sw=2:sts=0:noet
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/asterisk.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('asterisk', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asterisk') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Asterisk config file
|
||||
@@ -95,5 +90,3 @@ hi def link asteriskError Error
|
||||
let b:current_syntax = "asterisk"
|
||||
" vim: ts=8 sw=2
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/asteriskvm.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('asteriskvm', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asteriskvm') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Asterisk voicemail config file
|
||||
@@ -58,5 +53,3 @@ let b:current_syntax = "asteriskvm"
|
||||
|
||||
" vim: ts=8 sw=2
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/atlas.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('atlas', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'atlas') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ATLAS
|
||||
@@ -92,5 +87,3 @@ hi def link atlasSpecial Special
|
||||
let b:current_syntax = "atlas"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/autodoc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('autodoc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'autodoc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Autodoc
|
||||
@@ -108,5 +103,3 @@ let b:current_syntax = "autodoc"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/autoit.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('autoit', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'autoit') == -1
|
||||
|
||||
" Vim syntax file
|
||||
"
|
||||
@@ -1131,5 +1126,3 @@ syn sync minlines=50
|
||||
|
||||
let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/automake.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('automake', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'automake') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: automake Makefile.am
|
||||
@@ -84,5 +79,3 @@ hi def link automakeMakeBString makeBString
|
||||
let b:current_syntax = 'automake'
|
||||
|
||||
" vi: ts=8 sw=4 sts=4
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ave.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ave', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ave') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Copyright by Jan-Oliver Wagner
|
||||
@@ -86,5 +81,3 @@ hi def link aveTypos Error
|
||||
|
||||
|
||||
let b:current_syntax = "ave"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/awk.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('awk', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'awk') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: awk, nawk, gawk, mawk
|
||||
@@ -223,5 +218,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/b.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('b', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'b') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: B (A Formal Method with refinement and mathematical proof)
|
||||
@@ -121,5 +116,3 @@ hi def link bTodo Todo
|
||||
let b:current_syntax = "b"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('basic', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'basic') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: BASIC
|
||||
@@ -173,5 +168,3 @@ let b:current_syntax = "basic"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/class.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
"don't add typescriptMembers to nextgroup, let outer scope match it
|
||||
" so we won't match abstract method outside abstract class
|
||||
@@ -72,5 +67,3 @@ syntax region typescriptInterfaceTypeArguments matchgroup=typescriptTypeBrackets
|
||||
\ contained skipwhite
|
||||
|
||||
syntax match typescriptInterfaceComma /,/ contained nextgroup=typescriptInterfaceHeritage skipwhite skipnl
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/cluster.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
"Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnStatement WithStatement LabelledStatement SwitchStatement ThrowStatement TryStatement DebuggerStatement
|
||||
syntax cluster typescriptStatement
|
||||
@@ -45,5 +40,3 @@ syntax cluster typescriptValue
|
||||
\ contains=@typescriptExpression,typescriptObjectLiteral
|
||||
|
||||
syntax cluster typescriptEventExpression contains=typescriptArrowFuncDef,typescriptParenExp,@typescriptValue,typescriptRegexpString,@typescriptEventTypes,typescriptOperator,typescriptGlobal,jsxRegion
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/decorator.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
|
||||
\ nextgroup=typescriptFuncCallArg,typescriptTypeArguments
|
||||
\ contains=@_semantic,typescriptDotNotation
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/doc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
"Syntax coloring for Node.js shebang line
|
||||
syntax match shellbang "^#!.*node\>"
|
||||
@@ -91,5 +86,3 @@ if exists("main_syntax") && main_syntax == "typescript"
|
||||
endif
|
||||
|
||||
syntax case match
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/function.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax keyword typescriptAsyncFuncKeyword async
|
||||
\ nextgroup=typescriptFuncKeyword,typescriptArrowFuncDef
|
||||
@@ -74,5 +69,3 @@ syntax region typescriptParamImpl matchgroup=typescriptParens
|
||||
\ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments
|
||||
\ nextgroup=typescriptReturnAnnotation,typescriptBlock
|
||||
\ contained skipwhite skipnl
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/identifiers.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax cluster afterIdentifier contains=
|
||||
\ typescriptDotNotation,
|
||||
@@ -86,5 +81,3 @@ syntax region typescriptObjectDestructure matchgroup=typescriptBraces
|
||||
\ contains=typescriptDestructureString,@typescriptDestructureVariables,@typescriptComments
|
||||
\ nextgroup=typescriptTypeAnnotation,typescriptAssign
|
||||
\ transparent contained skipwhite skipempty fold
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/keyword.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
"Import
|
||||
syntax keyword typescriptImport from as
|
||||
@@ -103,5 +98,3 @@ syntax cluster typescriptAmbients contains=
|
||||
\ typescriptAbstract,
|
||||
\ typescriptEnumKeyword,typescriptEnum,
|
||||
\ typescriptModule
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/literal.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
"Syntax in the JavaScript code
|
||||
|
||||
@@ -48,5 +43,3 @@ syntax match typescriptNumber /\<0[oO][0-7][0-7_]*\>/ nextgroup=@typescrip
|
||||
syntax match typescriptNumber /\<0[xX][0-9a-fA-F][0-9a-fA-F_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
|
||||
syntax match typescriptNumber /\<\%(\d[0-9_]*\%(\.\d[0-9_]*\)\=\|\.\d[0-9_]*\)\%([eE][+-]\=\d[0-9_]*\)\=\>/
|
||||
\ nextgroup=typescriptSymbols skipwhite skipempty
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/members.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax keyword typescriptConstructor contained constructor
|
||||
\ nextgroup=@typescriptCallSignature
|
||||
@@ -53,5 +48,3 @@ syntax region typescriptComputedMember contained matchgroup=typescriptPropert
|
||||
\ contains=@typescriptValue,typescriptMember,typescriptMappedIn
|
||||
\ nextgroup=@memberNextGroup
|
||||
\ skipwhite skipempty
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/object.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax region typescriptObjectLiteral matchgroup=typescriptBraces
|
||||
\ start=/{/ end=/}/
|
||||
@@ -37,5 +32,3 @@ syntax match typescriptRestOrSpread /\.\.\./ contained
|
||||
syntax match typescriptObjectSpread /\.\.\./ contained containedin=typescriptObjectLiteral,typescriptArray nextgroup=@typescriptValue
|
||||
|
||||
syntax match typescriptObjectColon contained /:/ nextgroup=@typescriptValue skipwhite skipempty
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,16 +1,9 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/patch.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
" patch for generated code
|
||||
syntax keyword typescriptGlobal Promise
|
||||
\ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
|
||||
syntax keyword typescriptGlobal Map WeakMap
|
||||
\ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/reserved.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
syntax cluster typescriptStrings contains=typescriptProp,typescriptString,typescriptTemplate,@typescriptComments,typescriptDocComment,typescriptRegexpString,typescriptPropertyName
|
||||
|
||||
@@ -38,5 +33,3 @@ syntax keyword typescriptReserved containedin=ALLBUT,@typescriptNoReserved volat
|
||||
syntax keyword typescriptReserved containedin=ALLBUT,@typescriptNoReserved class
|
||||
syntax keyword typescriptReserved containedin=ALLBUT,@typescriptNoReserved var
|
||||
syntax keyword typescriptReserved containedin=ALLBUT,@typescriptNoReserved function
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/symbols.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
" + - ^ ~
|
||||
syntax match typescriptUnaryOp /[+\-~!]/
|
||||
@@ -47,5 +42,3 @@ syntax match typescriptBinaryOp contained /-\(-\|=\)\?/ nextgroup=@typescriptV
|
||||
syntax match typescriptBinaryOp contained /\*\*=\?/ nextgroup=@typescriptValue
|
||||
|
||||
syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/basic/type.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
" Types
|
||||
syntax match typescriptOptionalMark /?/ contained
|
||||
@@ -221,5 +216,3 @@ syntax region typescriptAliasDeclaration matchgroup=typescriptUnion
|
||||
syntax keyword typescriptReadonlyArrayKeyword readonly
|
||||
\ nextgroup=@typescriptPrimaryType
|
||||
\ skipwhite
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: bc - An arbitrary precision calculator language
|
||||
@@ -73,5 +68,3 @@ hi def link bcParenError Error
|
||||
|
||||
let b:current_syntax = "bc"
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bdf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bdf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: BDF font definition
|
||||
@@ -104,5 +99,3 @@ let b:current_syntax = "bdf"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bib.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bib', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bib') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: BibTeX (bibliographic database format for (La)TeX)
|
||||
@@ -128,5 +123,3 @@ let b:current_syntax = "bib"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bindzone.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bindzone', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bindzone') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: BIND zone files (RFC 1035)
|
||||
@@ -104,5 +99,3 @@ hi def link zoneComment Comment
|
||||
let b:current_syntax = "bindzone"
|
||||
|
||||
" vim:sts=2 sw=2
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/blade.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('blade', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Blade (Laravel)
|
||||
@@ -80,5 +75,3 @@ let b:current_syntax = 'blade'
|
||||
if exists('main_syntax') && main_syntax == 'blade'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/blank.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('blank', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blank') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Blank 1.4.1
|
||||
@@ -46,5 +41,3 @@ let b:current_syntax = "blank"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/brewfile.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('brewfile', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'brewfile') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Brewfile
|
||||
@@ -26,5 +21,3 @@ syn keyword brewfileDirective brew cask tap mas cask_args
|
||||
hi def link brewfileDirective Keyword
|
||||
|
||||
let b:current_syntax = "brewfile"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bsdl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bsdl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bsdl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Boundary Scan Description Language (BSDL)
|
||||
@@ -24,5 +19,3 @@ unlet b:current_syntax
|
||||
let b:current_syntax = "bsdl"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bst.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bst', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bst') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: BibTeX Bibliography Style
|
||||
@@ -77,5 +72,3 @@ hi def link bstError Error
|
||||
let b:current_syntax = "bst"
|
||||
|
||||
" vim:set ft=vim sts=4 sw=4:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bzl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bzl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bzl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Bazel (http://bazel.io)
|
||||
@@ -23,5 +18,3 @@ let b:current_syntax = 'bzl'
|
||||
|
||||
syn region bzlRule start='^\w\+($' end='^)\n*' transparent fold
|
||||
syn region bzlList start='\[' end='\]' transparent fold
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/bzr.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('bzr', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bzr') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Bazaar (bzr) commit file
|
||||
@@ -57,5 +52,3 @@ hi def link bzrUnknown Special
|
||||
|
||||
|
||||
let b:current_syntax = "bzr"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/c.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('c/c++', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: C
|
||||
@@ -517,5 +512,3 @@ unlet s:ft
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cabal.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('haskell', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
|
||||
|
||||
" syntax highlighting for cabal
|
||||
"
|
||||
@@ -58,5 +53,3 @@ highlight def link cabalDocNewline Operator
|
||||
highlight def link cabalDocCode Macro
|
||||
|
||||
let b:current_syntax = "cabal"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cabal-2.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cabal', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cabal') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Haskell Cabal Build file
|
||||
@@ -251,5 +246,3 @@ let &cpo = s:cpo_save
|
||||
unlet! s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/caddyfile.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('caddyfile', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
|
||||
|
||||
" Language: Caddyfile
|
||||
" Author: Josh Glendenning <josh@isobit.io>
|
||||
@@ -36,5 +31,3 @@ hi link caddyString String
|
||||
hi link caddyComment Comment
|
||||
|
||||
let b:current_syntax = "caddyfile"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/calendar.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('calendar', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'calendar') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: calendar(1) input file
|
||||
@@ -117,5 +112,3 @@ let b:current_syntax = "calendar"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/carp.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('carp', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'carp') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Carp
|
||||
@@ -172,5 +167,3 @@ if version >= 508 || !exists("carp_syntax_init")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "carp"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/catalog.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('catalog', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'catalog') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: sgml catalog file
|
||||
@@ -37,5 +32,3 @@ hi def link catalogTodo Todo
|
||||
hi def link catalogKeyword Statement
|
||||
|
||||
let b:current_syntax = "catalog"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cdl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cdl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cdl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Comshare Dimension Definition Language
|
||||
@@ -85,5 +80,3 @@ hi def link cdlConditional Conditional
|
||||
let b:current_syntax = "cdl"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cdrdaoconf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cdrdaoconf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cdrdaoconf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: cdrdao(1) configuration file
|
||||
@@ -146,5 +141,3 @@ let b:current_syntax = "cdrdaoconf"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cdrtoc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cdrtoc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cdrtoc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: cdrdao(1) TOC file
|
||||
@@ -544,5 +539,3 @@ let b:current_syntax = "cdrtoc"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
"
|
||||
@@ -1025,5 +1020,3 @@ let b:current_syntax = "cfml"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cfg.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cfg', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cfg') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Good old CFG files
|
||||
@@ -55,5 +50,3 @@ hi def link UncPath Directory
|
||||
|
||||
let b:current_syntax = "cfg"
|
||||
" vim:ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/ch.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('ch', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ch') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Ch
|
||||
@@ -45,5 +40,3 @@ hi def link chStructure Structure
|
||||
let b:current_syntax = "ch"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/chaiscript.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('chaiscript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'chaiscript') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ChaiScript
|
||||
@@ -101,5 +96,3 @@ hi def link chaiscriptEval Special
|
||||
let b:current_syntax = "chaiscript"
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8 noet
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/chaskell.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('chaskell', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'chaskell') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Haskell supporting c2hs binding hooks
|
||||
@@ -21,5 +16,3 @@ let b:hs_chs=1
|
||||
runtime! syntax/haskell.vim
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/chill.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('chill', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'chill') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: CHILL
|
||||
@@ -185,5 +180,3 @@ hi def link chillBracket Delimiter
|
||||
let b:current_syntax = "chill"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/chordpro.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('chordpro', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'chordpro') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: ChordPro (v. 3.6.2)
|
||||
@@ -74,5 +69,3 @@ let b:current_syntax = "chordpro"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cl.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cl', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cl') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: CL
|
||||
@@ -105,5 +100,3 @@ hi def link clStatement Statement
|
||||
let b:current_syntax = "cl"
|
||||
|
||||
" vim: ts=8 sw=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/clean.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('clean', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clean') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Clean
|
||||
@@ -97,5 +92,3 @@ let b:current_syntax = "clean"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=4
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/clojure.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('clojure', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Clojure
|
||||
@@ -230,5 +225,3 @@ let &cpo = s:cpo_sav
|
||||
unlet! s:cpo_sav
|
||||
|
||||
" vim:sts=8:sw=8:ts=8:noet
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cmake.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cmake', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmake') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Program: CMake - Cross-Platform Makefile Generator
|
||||
@@ -3781,5 +3776,3 @@ let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
" vim: set nowrap:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cmod.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cmod', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmod') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Cmod
|
||||
@@ -151,5 +146,3 @@ let b:current_syntax = "cmod"
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cmusrc.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cmusrc', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmusrc') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||
@@ -316,5 +311,3 @@ let b:current_syntax = "cmusrc"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cobol.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cobol', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cobol') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: COBOL
|
||||
@@ -267,5 +262,3 @@ hi def link cobolStart Comment
|
||||
let b:current_syntax = "cobol"
|
||||
|
||||
" vim: ts=6 nowrap
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/coco.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('coco', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coco') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Coco/R
|
||||
@@ -39,5 +34,3 @@ hi def link cocoOperator Operator
|
||||
hi def link cocoProductionCode Statement
|
||||
hi def link cocoPragma Special
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/coffee.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
||||
|
||||
" Language: CoffeeScript
|
||||
" Maintainer: Mick Koch <mick@kochm.co>
|
||||
@@ -228,5 +223,3 @@ syn cluster coffeeAll contains=coffeeStatement,coffeeRepeat,coffeeConditional,
|
||||
if !exists('b:current_syntax')
|
||||
let b:current_syntax = 'coffee'
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/common.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.8 and later: only when an item doesn't have highlighting yet
|
||||
@@ -179,5 +174,3 @@ if exists("did_typescript_hilink")
|
||||
delcommand HiLink
|
||||
unlet did_typescript_hilink
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/conaryrecipe.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('conaryrecipe', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'conaryrecipe') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Conary Recipe
|
||||
@@ -144,5 +139,3 @@ hi def link conaryUseFlag Typedef
|
||||
|
||||
let b:current_syntax = "conaryrecipe"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/conf.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('conf', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'conf') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: generic configure file
|
||||
@@ -33,5 +28,3 @@ hi def link confString String
|
||||
let b:current_syntax = "conf"
|
||||
|
||||
" vim: ts=8 sw=2
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/config.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('config', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'config') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: configure.in script: M4 with sh
|
||||
@@ -61,5 +56,3 @@ hi def link configmsg String
|
||||
let b:current_syntax = "config"
|
||||
|
||||
" vim: ts=4
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cpp.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('c/c++', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: C++
|
||||
@@ -102,5 +97,3 @@ hi def link cppModule Include
|
||||
let b:current_syntax = "cpp"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/cql.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('cql', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: cql
|
||||
@@ -138,5 +133,3 @@ endif
|
||||
|
||||
let b:current_syntax = "cql"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
let s:base = expand("<sfile>:h:h")
|
||||
let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" }
|
||||
let files = filter(globpath(&rtp, 'syntax/crm.vim', 1, 1), Filter)
|
||||
if len(files) > 0
|
||||
exec 'source ' . files[0]
|
||||
if !polyglot#util#IsEnabled('crm', expand('<sfile>:p'))
|
||||
finish
|
||||
endif
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crm') == -1
|
||||
|
||||
" Vim syntax file
|
||||
" Language: CRM114
|
||||
@@ -48,5 +43,3 @@ let b:current_syntax = "crm"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user