diff options
Diffstat (limited to 'syntax')
240 files changed, 482 insertions, 0 deletions
diff --git a/syntax/Dockerfile.vim b/syntax/Dockerfile.vim index bc620057..54d46096 100644 --- a/syntax/Dockerfile.vim +++ b/syntax/Dockerfile.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1 + " Vim syntax file " Language: Dockerfile " Maintainer: Eugene Kalinin @@ -58,4 +59,5 @@ hi link dockerfileTodo Todo hi link bashStatement Function let b:current_syntax = "dockerfile" + endif diff --git a/syntax/Jenkinsfile.vim b/syntax/Jenkinsfile.vim index 3c0bc4b0..eb5f8589 100644 --- a/syntax/Jenkinsfile.vim +++ b/syntax/Jenkinsfile.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jenkins') == -1 + runtime syntax/groovy.vim syn keyword jenkinsfileBuiltInVariable currentBuild @@ -125,4 +126,5 @@ hi link jenkinsFileDockerKeyword jenkinsfilePipelineStep let b:current_syntax = 'Jenkinsfile' " vim:set et sw=0 ts=2 ft=vim tw=78: + endif diff --git a/syntax/ansible.vim b/syntax/ansible.vim index a8032ff1..539594db 100644 --- a/syntax/ansible.vim +++ b/syntax/ansible.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 + " Vim syntax file " Language: Ansible YAML/Jinja templates " Maintainer: Dave Honneffer <pearofducks@gmail.com> @@ -103,4 +104,5 @@ else endif let b:current_syntax = "ansible" + endif diff --git a/syntax/ansible_hosts.vim b/syntax/ansible_hosts.vim index cad58884..953cd918 100644 --- a/syntax/ansible_hosts.vim +++ b/syntax/ansible_hosts.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 + " Vim syntax file " Language: Ansible hosts files " Maintainer: Dave Honneffer <pearofducks@gmail.com> @@ -30,4 +31,5 @@ if exists("g:ansible_attribute_highlight") endif let b:current_syntax = "ansible_hosts" + endif diff --git a/syntax/apiblueprint.vim b/syntax/apiblueprint.vim index a2b21b35..2c1b1537 100644 --- a/syntax/apiblueprint.vim +++ b/syntax/apiblueprint.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1 + runtime! syntax/markdown.vim unlet! b:current_syntax @@ -33,4 +34,5 @@ highlight default link apibActionRelationKey Identifier let b:current_syntax = 'apiblueprint' + endif diff --git a/syntax/applescript.vim b/syntax/applescript.vim index 8a083c48..53066e07 100644 --- a/syntax/applescript.vim +++ b/syntax/applescript.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1 + " Vim syntax file " Language: AppleScript " Maintainer: Jim Eberle <jim.eberle@fastnlight.com> @@ -244,4 +245,5 @@ hi def link scptTodo Todo let b:current_syntax = "applescript" + endif diff --git a/syntax/arduino.vim b/syntax/arduino.vim index 3b3ed772..6fbed366 100644 --- a/syntax/arduino.vim +++ b/syntax/arduino.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1 + " Vim syntax file " Language: Arduino " Maintainer: Sudar <sudar@sudarmuthu.com> @@ -165,4 +166,5 @@ hi def link arduinoType Type hi def link arduinoConstant Constant hi def link arduinoFunc Function hi def link arduinoIdentifier Identifier + endif diff --git a/syntax/asciidoc.vim b/syntax/asciidoc.vim index eb0d9f02..d4c0962e 100644 --- a/syntax/asciidoc.vim +++ b/syntax/asciidoc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asciidoc') == -1 + " Vim syntax file " Language: AsciiDoc " Author: Stuart Rackham <srackham@gmail.com> (inspired by Felix @@ -182,4 +183,5 @@ hi def link asciidocURL Macro let b:current_syntax = "asciidoc" " vim: wrap et sw=2 sts=2: + endif diff --git a/syntax/asl.vim b/syntax/asl.vim index 3e89f444..b108b1eb 100644 --- a/syntax/asl.vim +++ b/syntax/asl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1 + " Vim syntax file " Language: ACPI ASL files " Maintainer: Martin L Roth <gaumless@gmail.com> @@ -107,4 +108,5 @@ hi def link aslNumber Number let b:current_syntax = "asl" syn sync minlines=200 + endif diff --git a/syntax/basic/class.vim b/syntax/basic/class.vim index 2cefe76d..73f63468 100644 --- a/syntax/basic/class.vim +++ b/syntax/basic/class.vim @@ -1,4 +1,5 @@ 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 syntax keyword typescriptAbstract abstract @@ -64,4 +65,5 @@ syntax region typescriptInterfaceTypeArguments matchgroup=typescriptTypeBrackets \ contained skipwhite syntax match typescriptInterfaceComma /,/ contained nextgroup=typescriptInterfaceHeritage skipwhite skipnl + endif diff --git a/syntax/basic/cluster.vim b/syntax/basic/cluster.vim index 07775a18..8538c517 100644 --- a/syntax/basic/cluster.vim +++ b/syntax/basic/cluster.vim @@ -1,4 +1,5 @@ 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 \ contains=typescriptBlock,typescriptVariable, @@ -37,4 +38,5 @@ syntax cluster typescriptValue \ contains=@typescriptExpression,typescriptObjectLiteral syntax cluster typescriptEventExpression contains=typescriptArrowFuncDef,typescriptParenExp,@typescriptValue,typescriptRegexpString,@typescriptEventTypes,typescriptOperator,typescriptGlobal,jsxRegion + endif diff --git a/syntax/basic/decorator.vim b/syntax/basic/decorator.vim index c61ca643..1a8fc2c7 100644 --- a/syntax/basic/decorator.vim +++ b/syntax/basic/decorator.vim @@ -1,5 +1,7 @@ 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=typescriptArgumentList,typescriptTypeArguments \ contains=@_semantic,typescriptDotNotation + endif diff --git a/syntax/basic/doc.vim b/syntax/basic/doc.vim index 88a2c08d..dfba989a 100644 --- a/syntax/basic/doc.vim +++ b/syntax/basic/doc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + "Syntax coloring for Node.js shebang line syntax match shellbang "^#!.*node\>" syntax match shellbang "^#!.*iojs\>" @@ -82,4 +83,5 @@ if main_syntax == "typescript" endif syntax case match + endif diff --git a/syntax/basic/function.vim b/syntax/basic/function.vim index 782a58aa..ac1c4a4c 100644 --- a/syntax/basic/function.vim +++ b/syntax/basic/function.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptAsyncFuncKeyword async \ nextgroup=typescriptFuncKeyword,typescriptArrowFuncDef \ skipwhite @@ -66,4 +67,5 @@ syntax region typescriptParamImpl matchgroup=typescriptParens \ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments \ nextgroup=typescriptReturnAnnotation,typescriptBlock \ contained skipwhite skipnl + endif diff --git a/syntax/basic/identifiers.vim b/syntax/basic/identifiers.vim index 6a774f1b..027fbde5 100644 --- a/syntax/basic/identifiers.vim +++ b/syntax/basic/identifiers.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax cluster afterIdentifier contains= \ typescriptDotNotation, \ typescriptFuncCallArg, @@ -28,4 +29,5 @@ syntax region typescriptParenExp matchgroup=typescriptParens start syntax region typescriptFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptValue,@typescriptComments nextgroup=@typescriptSymbols,typescriptDotNotation skipwhite skipempty skipnl syntax region typescriptEventFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptEventExpression syntax region typescriptEventString contained start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/ contains=typescriptASCII,@events + endif diff --git a/syntax/basic/keyword.vim b/syntax/basic/keyword.vim index b658b334..ff1e169a 100644 --- a/syntax/basic/keyword.vim +++ b/syntax/basic/keyword.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + "Import syntax keyword typescriptImport from as import syntax keyword typescriptExport export @@ -90,4 +91,5 @@ syntax cluster typescriptAmbients contains= \ typescriptAbstract, \ typescriptEnumKeyword,typescriptEnum, \ typescriptModule + endif diff --git a/syntax/basic/literal.vim b/syntax/basic/literal.vim index fca1b54f..533b228a 100644 --- a/syntax/basic/literal.vim +++ b/syntax/basic/literal.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + "Syntax in the JavaScript code " String @@ -42,4 +43,5 @@ syntax match typescriptNumber /\d[0-9_]*\.\d[0-9_]*\|\d[0-9_]*\|\.\d[0-9]*/ \ nextgroup=typescriptExponent,@typescriptSymbols skipwhite skipempty syntax match typescriptExponent /[eE][+-]\=\d[0-9]*\>/ \ nextgroup=@typescriptSymbols skipwhite skipempty contained + endif diff --git a/syntax/basic/members.vim b/syntax/basic/members.vim index 17465093..267bd110 100644 --- a/syntax/basic/members.vim +++ b/syntax/basic/members.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptConstructor contained constructor \ nextgroup=@typescriptCallSignature \ skipwhite skipempty @@ -45,4 +46,5 @@ syntax region typescriptComputedMember contained matchgroup=typescriptPropert \ contains=@typescriptValue,typescriptMember,typescriptMappedIn \ nextgroup=@memberNextGroup \ skipwhite skipempty + endif diff --git a/syntax/basic/object.vim b/syntax/basic/object.vim index eadaba0a..a0d69c53 100644 --- a/syntax/basic/object.vim +++ b/syntax/basic/object.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax region typescriptObjectLiteral matchgroup=typescriptBraces \ start=/{/ end=/}/ \ contains=@typescriptComments,typescriptObjectLabel,typescriptStringProperty,typescriptComputedPropertyName @@ -27,4 +28,5 @@ syntax match typescriptRestOrSpread /\.\.\./ contained syntax match typescriptObjectSpread /\.\.\./ contained containedin=typescriptObjectLiteral,typescriptArray nextgroup=@typescriptValue syntax match typescriptObjectColon contained /:/ nextgroup=@typescriptValue skipwhite skipempty + endif diff --git a/syntax/basic/patch.vim b/syntax/basic/patch.vim index 127059d5..5531db79 100644 --- a/syntax/basic/patch.vim +++ b/syntax/basic/patch.vim @@ -1,7 +1,9 @@ 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 diff --git a/syntax/basic/reserved.vim b/syntax/basic/reserved.vim index b5940510..14ea7565 100644 --- a/syntax/basic/reserved.vim +++ b/syntax/basic/reserved.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax cluster typescriptStrings contains=typescriptProp,typescriptString,typescriptTemplate,@typescriptComments,typescriptDocComment,typescriptRegexpString,typescriptPropertyName syntax cluster typescriptNoReserved contains= @@ -30,4 +31,5 @@ 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 diff --git a/syntax/basic/symbols.vim b/syntax/basic/symbols.vim index 93adb687..5728316a 100644 --- a/syntax/basic/symbols.vim +++ b/syntax/basic/symbols.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + " + - ^ ~ syntax match typescriptUnaryOp /[+\-~!]/ \ nextgroup=@typescriptValue @@ -37,4 +38,5 @@ syntax match typescriptBinaryOp contained /-\(-\|=\)\?/ nextgroup=@typescriptV syntax match typescriptBinaryOp contained /\*\*=\?/ nextgroup=@typescriptValue syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword + endif diff --git a/syntax/basic/type.vim b/syntax/basic/type.vim index b2f849fc..d8992429 100644 --- a/syntax/basic/type.vim +++ b/syntax/basic/type.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + " Types syntax match typescriptOptionalMark /?/ contained @@ -186,4 +187,5 @@ syntax region typescriptAliasDeclaration matchgroup=typescriptUnion syntax keyword typescriptReadonlyArrayKeyword readonly \ nextgroup=@typescriptPrimaryType \ skipwhite + endif diff --git a/syntax/blade.vim b/syntax/blade.vim index 7d622d63..77f1f083 100644 --- a/syntax/blade.vim +++ b/syntax/blade.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1 + " Vim syntax file " Language: Blade (Laravel) " Maintainer: Jason Walton <jwalton512@gmail.com> @@ -72,4 +73,5 @@ let b:current_syntax = 'blade' if exists('main_syntax') && main_syntax == 'blade' unlet main_syntax endif + endif diff --git a/syntax/c.vim b/syntax/c.vim index 701a52c6..fd201c4e 100644 --- a/syntax/c.vim +++ b/syntax/c.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1 + " Vim syntax file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> @@ -488,4 +489,5 @@ unlet s:ft let &cpo = s:cpo_save unlet s:cpo_save " vim: ts=8 + endif diff --git a/syntax/cabal.vim b/syntax/cabal.vim index 25e262a7..7b9724bd 100644 --- a/syntax/cabal.vim +++ b/syntax/cabal.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1 + " syntax highlighting for cabal " " author: raichoo (raichoo@googlemail.com) @@ -50,4 +51,5 @@ highlight def link cabalDocNewline Operator highlight def link cabalDocCode Macro let b:current_syntax = "cabal" + endif diff --git a/syntax/caddyfile.vim b/syntax/caddyfile.vim index 79ecc36f..da12cd77 100644 --- a/syntax/caddyfile.vim +++ b/syntax/caddyfile.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1 + " Language: Caddyfile " Author: Josh Glendenning <josh@isobit.io> @@ -28,4 +29,5 @@ hi link caddyString String hi link caddyComment Comment let b:current_syntax = "caddyfile" + endif diff --git a/syntax/carp.vim b/syntax/carp.vim index e6503621..48b684ee 100644 --- a/syntax/carp.vim +++ b/syntax/carp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'carp') == -1 + " Vim syntax file " Language: Carp " Maintainer: Veit Heller <veit@veitheller.de> @@ -164,4 +165,5 @@ if version >= 508 || !exists("carp_syntax_init") endif let b:current_syntax = "carp" + endif diff --git a/syntax/clojure.vim b/syntax/clojure.vim index 2d444294..6ef9369b 100644 --- a/syntax/clojure.vim +++ b/syntax/clojure.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1 + " Vim syntax file " Language: Clojure " Authors: Toralf Wittner <toralf.wittner@gmail.com> @@ -222,4 +223,5 @@ let &cpo = s:cpo_sav unlet! s:cpo_sav " vim:sts=8:sw=8:ts=8:noet + endif diff --git a/syntax/cmake.vim b/syntax/cmake.vim index a67a3754..4665ccf3 100644 --- a/syntax/cmake.vim +++ b/syntax/cmake.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmake') == -1 + " Vim syntax file " Program: CMake - Cross-Platform Makefile Generator " Version: cmake version 3.14.20190529-g067a4f @@ -3351,4 +3352,5 @@ let &cpo = s:keepcpo unlet s:keepcpo " vim: set nowrap: + endif diff --git a/syntax/coffee.vim b/syntax/coffee.vim index b61d006e..2037d02d 100644 --- a/syntax/coffee.vim +++ b/syntax/coffee.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 + " Language: CoffeeScript " Maintainer: Mick Koch <mick@kochm.co> " URL: http://github.com/kchmck/vim-coffee-script @@ -220,4 +221,5 @@ syn cluster coffeeAll contains=coffeeStatement,coffeeRepeat,coffeeConditional, if !exists('b:current_syntax') let b:current_syntax = 'coffee' endif + endif diff --git a/syntax/common.vim b/syntax/common.vim index 27e4480d..ca552c43 100644 --- a/syntax/common.vim +++ b/syntax/common.vim @@ -1,4 +1,5 @@ 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 let did_typescript_hilink = 1 @@ -160,4 +161,5 @@ if exists("did_typescript_hilink") delcommand HiLink unlet did_typescript_hilink endif + endif diff --git a/syntax/cpp.vim b/syntax/cpp.vim index 587eef28..c224a013 100644 --- a/syntax/cpp.vim +++ b/syntax/cpp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1 + " Vim syntax file " Language: C++ " Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp) @@ -75,4 +76,5 @@ hi def link cppNumber Number let b:current_syntax = "cpp" " vim: ts=8 + endif diff --git a/syntax/cql.vim b/syntax/cql.vim index acdd5030..2b6eeea5 100644 --- a/syntax/cql.vim +++ b/syntax/cql.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1 + " Vim syntax file " Language: cql " Maintainer: Eric Lubow <eric@lubow.org @@ -130,4 +131,5 @@ endif let b:current_syntax = "cql" + endif diff --git a/syntax/cryptol.vim b/syntax/cryptol.vim index 5739f627..97992369 100644 --- a/syntax/cryptol.vim +++ b/syntax/cryptol.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1 + " Vim syntax file " Language: Cryptol " Maintainer: Fergus Henderson @@ -112,4 +113,5 @@ endif let b:current_syntax = "cryptol" " Options for vi: ts=8 sw=2 sts=2 nowrap noexpandtab ft=vim + endif diff --git a/syntax/crystal.vim b/syntax/crystal.vim index 77fea2ce..cdd9f037 100644 --- a/syntax/crystal.vim +++ b/syntax/crystal.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1 + " Language: Crystal " Based on Ruby syntax highlight " which was made by Mirko Nasato and Doug Kearns @@ -398,4 +399,5 @@ hi def link crystalSpaceError crystalError let b:current_syntax = 'crystal' " vim: nowrap sw=2 sts=2 ts=8 noet: + endif diff --git a/syntax/csv.vim b/syntax/csv.vim index 17ddb1b3..e212e2f3 100644 --- a/syntax/csv.vim +++ b/syntax/csv.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'csv') == -1 + " A simple syntax highlighting, simply alternate colors between two " adjacent columns " Init {{{2 @@ -168,4 +169,5 @@ let b:current_syntax="csv" let &cpo = s:cpo_save unlet s:cpo_save " vim: set foldmethod=marker et sw=0 sts=-1 ts=4: + endif diff --git a/syntax/cucumber.vim b/syntax/cucumber.vim index e94e9835..6cc43cf9 100644 --- a/syntax/cucumber.vim +++ b/syntax/cucumber.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1 + " Vim syntax file " Language: Cucumber " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -141,4 +142,5 @@ let &cpo = s:keepcpo unlet s:keepcpo " vim:set sts=2 sw=2: + endif diff --git a/syntax/cuesheet.vim b/syntax/cuesheet.vim index 8bd089f6..4e30b725 100644 --- a/syntax/cuesheet.vim +++ b/syntax/cuesheet.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cue') == -1 + " Language: Cue sheet " Maintainer: Matěj Grabovský " URL: http://github.com/mgrabovsky @@ -25,4 +26,5 @@ syn match Number /\<\d\+\%(:\d\{2}\)\{2}\>/ let b:current_syntax='cuesheet' " vim: nowrap sw=2 sts=2 ts=8: + endif diff --git a/syntax/d.vim b/syntax/d.vim index 4e14cefa..69100b9c 100644 --- a/syntax/d.vim +++ b/syntax/d.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 + " Vim syntax file for the D programming language (version 1.076 and 2.069). " " Language: D @@ -572,4 +573,5 @@ syn keyword dAsmOpCode contained adc let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/dart.vim b/syntax/dart.vim index 996659b6..e9a44bbb 100644 --- a/syntax/dart.vim +++ b/syntax/dart.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1 + " Vim syntax file " Language: Dart " Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file " for details. All rights reserved. Use of this source code is governed by a @@ -134,4 +135,5 @@ let b:spell_options = "contained" if g:main_syntax is# 'dart' unlet g:main_syntax endif + endif diff --git a/syntax/dcov.vim b/syntax/dcov.vim index 83315eda..bfd7b91c 100644 --- a/syntax/dcov.vim +++ b/syntax/dcov.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 + " Vim syntax file for coverage information for the reference compiler (DMD) of " the D programming language. " @@ -50,4 +51,5 @@ hi def link dcovLow Operator hi def link dcovPartial Structure let b:current_syntax = "dcov" + endif diff --git a/syntax/dd.vim b/syntax/dd.vim index cc943713..2bfc2b0e 100644 --- a/syntax/dd.vim +++ b/syntax/dd.vim @@ -1,3 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 + runtime! /syntax/ddoc.vim + endif diff --git a/syntax/ddoc.vim b/syntax/ddoc.vim index 80a2a1cb..0a4a9d49 100644 --- a/syntax/ddoc.vim +++ b/syntax/ddoc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 + if &filetype == "ddoc" "ddoc file type " Quit when a syntax file was already loaded @@ -81,4 +82,5 @@ elseif &filetype == "d" hi! def link ddocIdentifierNestedDecl Macro hi! def link ddocKeyword Macro endif + endif diff --git a/syntax/dhall.vim b/syntax/dhall.vim index 01124586..3629900a 100644 --- a/syntax/dhall.vim +++ b/syntax/dhall.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dhall') == -1 + scriptencoding utf-8 if exists('b:current_syntax') @@ -61,4 +62,5 @@ highlight link dhallComment Comment highlight link dhallMultilineComment Comment let b:current_syntax = 'dhall' + endif diff --git a/syntax/docker-compose.vim b/syntax/docker-compose.vim index 573d45e6..92121065 100644 --- a/syntax/docker-compose.vim +++ b/syntax/docker-compose.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1 + " Vim syntax file " Language: Dockerfile " Maintainer: Eugene Kalinin @@ -79,4 +80,5 @@ hi link dockercomposeTodo Todo hi link bashStatement Function let b:current_syntax = "dockercompose" + endif diff --git a/syntax/dsdl.vim b/syntax/dsdl.vim index 3300ca70..c7cc2425 100644 --- a/syntax/dsdl.vim +++ b/syntax/dsdl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1 + " Vim syntax file for DUB configurations." " " Language: SDLang (dub config) @@ -89,4 +90,5 @@ hi def link dsdlStatement Statement hi def link dsdlAttribute Tag let b:current_syntax = "dsdl" + endif diff --git a/syntax/dune.vim b/syntax/dune.vim index 900c08b7..b9160f78 100644 --- a/syntax/dune.vim +++ b/syntax/dune.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + if exists("b:current_syntax") finish endif @@ -35,4 +36,5 @@ syn match duneVar '\${\k\+\(:\k\+\)\?}' containedin=lispSymbol hi def link duneVar Identifier let b:current_syntax = "dune" + endif diff --git a/syntax/eelixir.vim b/syntax/eelixir.vim index 0e499af6..1715f36e 100644 --- a/syntax/eelixir.vim +++ b/syntax/eelixir.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 + if exists("b:current_syntax") finish endif @@ -69,4 +70,5 @@ endif let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/elixir.vim b/syntax/elixir.vim index 35490fd9..6cb821e0 100644 --- a/syntax/elixir.vim +++ b/syntax/elixir.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 + if !exists("main_syntax") if exists("b:current_syntax") finish @@ -242,4 +243,5 @@ endif let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/elm.vim b/syntax/elm.vim index 2f0b2876..9a7628ae 100644 --- a/syntax/elm.vim +++ b/syntax/elm.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1 + " syntax highlighting for Elm (http://elm-lang.org/) if exists('b:current_syntax') @@ -80,4 +81,5 @@ hi def link elmNumberType Identifier syn sync minlines=500 let b:current_syntax = 'elm' + endif diff --git a/syntax/ember-script.vim b/syntax/ember-script.vim index eaaf8bc3..d034a67e 100644 --- a/syntax/ember-script.vim +++ b/syntax/ember-script.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1 + " Language: ember-script " Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>> " URL: http://github.com/yalesov/vim-ember-script @@ -30,4 +31,5 @@ syn match emEach /\v\@each/ display hi def link emEach Special let b:current_syntax = 'ember-script' + endif diff --git a/syntax/emblem.vim b/syntax/emblem.vim index 980d21d2..00e7541d 100644 --- a/syntax/emblem.vim +++ b/syntax/emblem.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1 + " Language: emblem " Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com> " URL: http://github.com/yalesov/vim-emblem @@ -170,4 +171,5 @@ hi def link eblId Constant hi def link eblClass Identifier let b:current_syntax = 'emblem' + endif diff --git a/syntax/erlang.vim b/syntax/erlang.vim index d3b547c6..27f19ff1 100644 --- a/syntax/erlang.vim +++ b/syntax/erlang.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'erlang') == -1 + " Vim syntax file " Language: Erlang (http://www.erlang.org) " Maintainer: Csaba Hoch <csaba.hoch@gmail.com> @@ -260,4 +261,5 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: sw=2 et + endif diff --git a/syntax/eruby.vim b/syntax/eruby.vim index d0627bc6..4de67ab5 100644 --- a/syntax/eruby.vim +++ b/syntax/eruby.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 + " Vim syntax file " Language: eRuby " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -79,4 +80,5 @@ if main_syntax == 'eruby' endif " vim: nowrap sw=2 sts=2 ts=8: + endif diff --git a/syntax/fbs.vim b/syntax/fbs.vim index 340d3064..704732a4 100644 --- a/syntax/fbs.vim +++ b/syntax/fbs.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'flatbuffers') == -1 + if exists("b:current_syntax") finish endif @@ -51,4 +52,5 @@ if version >= 508 || !exists("did_proto_syn_inits") endif let b:current_syntax = "fbs" + endif diff --git a/syntax/ferm.vim b/syntax/ferm.vim index f372a1e5..8bb0aaf3 100644 --- a/syntax/ferm.vim +++ b/syntax/ferm.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ferm') == -1 + "============================================================================ " ferm syntax highlighter " @@ -202,4 +203,5 @@ endif " Autoconfigure vim indentation settings " vim:ts=4:sw=4:sts=4:fdm=marker:iskeyword+=- + endif diff --git a/syntax/fish.vim b/syntax/fish.vim index 0fe60454..fef75cfb 100644 --- a/syntax/fish.vim +++ b/syntax/fish.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1 + if exists('b:current_syntax') finish endif @@ -36,4 +37,5 @@ highlight default link fishStatement Statement highlight default link fishCommandSub fishStatement let b:current_syntax = 'fish' + endif diff --git a/syntax/fsharp.vim b/syntax/fsharp.vim index 999d4fd4..e1a6c9d6 100644 --- a/syntax/fsharp.vim +++ b/syntax/fsharp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1 + " Vim syntax file " Language: F# " Last Change: Sun 19 Oct 2014 11:11:44 PM CEST @@ -264,4 +265,5 @@ endif let b:current_syntax = 'fsharp' " vim: sw=4 et sts=4 + endif diff --git a/syntax/git.vim b/syntax/git.vim index 768e1ffc..45844aff 100644 --- a/syntax/git.vim +++ b/syntax/git.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim syntax file " Language: generic git output " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -79,4 +80,5 @@ hi def link gitDiffAdded diffAdded hi def link gitDiffRemoved diffRemoved let b:current_syntax = "git" + endif diff --git a/syntax/gitcommit.vim b/syntax/gitcommit.vim index 554bef68..06125418 100644 --- a/syntax/gitcommit.vim +++ b/syntax/gitcommit.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim syntax file " Language: git commit file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -90,4 +91,5 @@ hi def link gitcommitArrow gitcommitComment hi def link gitcommitBlank Error let b:current_syntax = "gitcommit" + endif diff --git a/syntax/gitconfig.vim b/syntax/gitconfig.vim index 5c5055e2..0a52f233 100644 --- a/syntax/gitconfig.vim +++ b/syntax/gitconfig.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim syntax file " Language: git config file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -35,4 +36,5 @@ hi def link gitconfigEscape Special hi def link gitconfigError Error let b:current_syntax = "gitconfig" + endif diff --git a/syntax/gitrebase.vim b/syntax/gitrebase.vim index 0313e8f3..3a980d64 100644 --- a/syntax/gitrebase.vim +++ b/syntax/gitrebase.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim syntax file " Language: git rebase --interactive " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -43,4 +44,5 @@ hi def link gitrebaseComment Comment hi def link gitrebaseSquashError Error let b:current_syntax = "gitrebase" + endif diff --git a/syntax/gitsendemail.vim b/syntax/gitsendemail.vim index b491379b..17a6e449 100644 --- a/syntax/gitsendemail.vim +++ b/syntax/gitsendemail.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1 + " Vim syntax file " Language: git send-email message " Maintainer: Tim Pope @@ -22,4 +23,5 @@ syn match gitsendemailComment "^GIT:.*" hi def link gitsendemailComment Comment let b:current_syntax = "gitsendemail" + endif diff --git a/syntax/glsl.vim b/syntax/glsl.vim index 7ef4e636..34876b5d 100644 --- a/syntax/glsl.vim +++ b/syntax/glsl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1 + " Language: OpenGL Shading Language " Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io> @@ -674,4 +675,5 @@ if !exists("b:current_syntax") endif " vim:set sts=2 sw=2 : + endif diff --git a/syntax/gmpl.vim b/syntax/gmpl.vim index 326b62d1..b157c012 100644 --- a/syntax/gmpl.vim +++ b/syntax/gmpl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gmpl') == -1 + " Vim syntax file " Language: GMPL " Maintainer: Mark Mba Wright @@ -117,4 +118,5 @@ hi def link gmplType Type hi def link gmplLabel Keyword hi def link gmplString String hi def link gmplStringToken Special + endif diff --git a/syntax/gnuplot.vim b/syntax/gnuplot.vim index fd7b559c..95ee7fd5 100644 --- a/syntax/gnuplot.vim +++ b/syntax/gnuplot.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gnuplot') == -1 + " Vim syntax file " Language: gnuplot 4.7.0 " Maintainer: Andrew Rasmussen andyras@users.sourceforge.net @@ -553,4 +554,5 @@ endif let b:current_syntax = "gnuplot" " vim: ts=8 + endif diff --git a/syntax/go.vim b/syntax/go.vim index 5f098aaa..5a23f24f 100644 --- a/syntax/go.vim +++ b/syntax/go.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + " Copyright 2009 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. @@ -411,4 +412,5 @@ syn sync minlines=500 let b:current_syntax = "go" " vim: sw=2 ts=2 et + endif diff --git a/syntax/godebugoutput.vim b/syntax/godebugoutput.vim index 3d05e3e2..f0013936 100644 --- a/syntax/godebugoutput.vim +++ b/syntax/godebugoutput.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -12,4 +13,5 @@ hi def link godebugOutputErr Comment hi def link godebugOutputOut Normal " vim: sw=2 ts=2 et + endif diff --git a/syntax/godebugstacktrace.vim b/syntax/godebugstacktrace.vim index e803fcf3..2568100d 100644 --- a/syntax/godebugstacktrace.vim +++ b/syntax/godebugstacktrace.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -10,4 +11,5 @@ let b:current_syntax = "godebugoutput" hi def link godebugStacktrace SpecialKey " vim: sw=2 ts=2 et + endif diff --git a/syntax/godebugvariables.vim b/syntax/godebugvariables.vim index b057b067..7e725472 100644 --- a/syntax/godebugvariables.vim +++ b/syntax/godebugvariables.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -22,4 +23,5 @@ hi def link goType Type hi def link goBoolean Boolean " vim: sw=2 ts=2 et + endif diff --git a/syntax/godefstack.vim b/syntax/godefstack.vim index d9bad004..0b6ce168 100644 --- a/syntax/godefstack.vim +++ b/syntax/godefstack.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -19,4 +20,5 @@ hi def link godefStackFilename Directory hi def link godefStackEntryLocationNumber LineNr " vim: sw=2 ts=2 et + endif diff --git a/syntax/gohtmltmpl.vim b/syntax/gohtmltmpl.vim index 95953d61..0cc7b955 100644 --- a/syntax/gohtmltmpl.vim +++ b/syntax/gohtmltmpl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -16,4 +17,5 @@ syn cluster htmlPreproc add=gotplAction,goTplComment let b:current_syntax = "gohtmltmpl" " vim: sw=2 ts=2 et + endif diff --git a/syntax/gomod.vim b/syntax/gomod.vim index 238d9065..1d70e539 100644 --- a/syntax/gomod.vim +++ b/syntax/gomod.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + " gomod.vim: Vim syntax file for go.mod file " " Quit when a (custom) syntax file was already loaded @@ -84,4 +85,5 @@ syntax match gomodVersion "v[2-9]\{1}\d*\.\d\+\.\d\+\%(+\%([0-9A-Za-z-]\+\)\%(\. highlight default link gomodVersion Identifier let b:current_syntax = "gomod" + endif diff --git a/syntax/gotexttmpl.vim b/syntax/gotexttmpl.vim index 6f5bc7d0..3d5f3926 100644 --- a/syntax/gotexttmpl.vim +++ b/syntax/gotexttmpl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + " Copyright 2011 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. @@ -84,4 +85,5 @@ hi def link goTplComment Comment let b:current_syntax = "gotexttmpl" " vim: sw=2 ts=2 et + endif diff --git a/syntax/graphql.vim b/syntax/graphql.vim index b30b2228..1a787816 100644 --- a/syntax/graphql.vim +++ b/syntax/graphql.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1 + " Vim syntax file " Language: GraphQL " Maintainer: Jon Parise <jon@indelible.org> @@ -63,4 +64,5 @@ hi def link graphqlVariable Identifier syn sync minlines=500 let b:current_syntax = 'graphql' + endif diff --git a/syntax/groovy.vim b/syntax/groovy.vim index 2182bd3e..68c9a996 100644 --- a/syntax/groovy.vim +++ b/syntax/groovy.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'groovy') == -1 + " Vim syntax file " Language: Groovy " Maintainer: Alessio Pace <billy.corgan@tiscali.it> @@ -449,4 +450,5 @@ endif let b:spell_options="contained" " vim: ts=8 + endif diff --git a/syntax/haml.vim b/syntax/haml.vim index 880ebbf0..02f5cf83 100644 --- a/syntax/haml.vim +++ b/syntax/haml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1 + " Vim syntax file " Language: Haml " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -108,4 +109,5 @@ if main_syntax == "haml" endif " vim:set sw=2: + endif diff --git a/syntax/haproxy.vim b/syntax/haproxy.vim index 8352a013..21a449c2 100644 --- a/syntax/haproxy.vim +++ b/syntax/haproxy.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haproxy') == -1 + " Vim syntax file " Language: HAproxy " Maintainer: Dan Reif @@ -355,4 +356,5 @@ delcommand HiLink let b:current_syntax = "haproxy" " vim: ts=8 + endif diff --git a/syntax/haskell.vim b/syntax/haskell.vim index ead2d541..aed7aac5 100644 --- a/syntax/haskell.vim +++ b/syntax/haskell.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1 + " syntax highlighting for haskell " " Heavily modified version of the haskell syntax @@ -207,4 +208,5 @@ if get(g:, 'haskell_backpack', 0) highlight def link haskellBackpackDependency Include endif let b:current_syntax = "haskell" + endif diff --git a/syntax/haxe.vim b/syntax/haxe.vim index 89329caa..ef159ce9 100644 --- a/syntax/haxe.vim +++ b/syntax/haxe.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haxe') == -1 + " Vim syntax file " Language: haxe " Derived from: @@ -426,4 +427,5 @@ if main_syntax == 'haxe' unlet main_syntax endif let b:spell_options="contained" + endif diff --git a/syntax/hcl.vim b/syntax/hcl.vim index 8937cabe..66d4071c 100644 --- a/syntax/hcl.vim +++ b/syntax/hcl.vim @@ -1,5 +1,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hcl') == -1 + if exists("b:current_syntax") finish endif @@ -43,4 +44,5 @@ hi def link hclInterpolation String hi def link hclSimpleString PreProc let b:current_syntax = "hcl" + endif diff --git a/syntax/helm.vim b/syntax/helm.vim index 1a0d5c13..9e8be342 100644 --- a/syntax/helm.vim +++ b/syntax/helm.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'helm') == -1 + if exists("b:current_syntax") finish endif @@ -90,4 +91,5 @@ hi def link goTplComment Comment let b:current_syntax = "helm" " vim: sw=2 ts=2 et + endif diff --git a/syntax/hive.vim b/syntax/hive.vim index bc0b7fd4..12a87f8e 100644 --- a/syntax/hive.vim +++ b/syntax/hive.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hive') == -1 + " Vim syntax file " Language: HIVE Query Language " Maintainer: German Lashevich <german.lashevich@gmail.com> @@ -134,4 +135,5 @@ hi link hiveVar Special let b:current_syntax = "hive" " vim: ts=4 + endif diff --git a/syntax/html.vim b/syntax/html.vim index 61dacaa5..41b725b6 100644 --- a/syntax/html.vim +++ b/syntax/html.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: HTML (version 5.1) " SVG (SVG 1.1 Second Edition) @@ -189,8 +190,10 @@ syn keyword htmlArg contained scriptlevel scriptminsize scriptsize scriptsizemul syn keyword htmlArg contained stretchy subscriptshift superscriptshift symmetric thickmathspace thinmathspace type valign verythickmathspace verythinmathspace syn keyword htmlArg contained veryverythickmathspace veryverythinmathspace voffset width xref + endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jinja') == -1 + " Vim syntax file " Language: HTML (version 5) " Maintainer: Rodrigo Machado <rcmachado@gmail.com> @@ -281,4 +284,5 @@ syn match htmlArg contained "\<aria-\(dropeffect\|grabbed\)\>" " Relationship Attributes syn match htmlArg contained "\<aria-\(activedescendant\|controls\|describedby\|flowto\|\)\>" syn match htmlArg contained "\<aria-\(labelledby\|owns\|posinset\|setsize\|\)\>" + endif diff --git a/syntax/html/aria.vim b/syntax/html/aria.vim index a22c013b..0c555e6e 100644 --- a/syntax/html/aria.vim +++ b/syntax/html/aria.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: WAI-ARIA " Maintainer: othree <othree@gmail.com> @@ -74,4 +75,5 @@ syn match htmlArg contained "\<aria-\%(\|labelledby\|owns\|posinset\|setsize\ syn match htmlArg contained "\<aria-\%(\|colcount\|colindex\|colspan\)\>" syn match htmlArg contained "\<aria-\%(\|rowcount\|rowindex\|rowspan\)\>" + endif diff --git a/syntax/html/electron.vim b/syntax/html/electron.vim index 090c0648..f51e1aef 100644 --- a/syntax/html/electron.vim +++ b/syntax/html/electron.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: Electron " Maintainer: othree <othree@gmail.com> @@ -14,4 +15,5 @@ syn keyword htmlArg contained useragent disablewebsecurity partition allowpopups syn keyword htmlArg contained webpreferences blinkfeatures disableblinkfeatures syn keyword htmlArg contained guestinstance disableguestresize + endif diff --git a/syntax/html/rdfa.vim b/syntax/html/rdfa.vim index dfe9f9b6..d772d43c 100644 --- a/syntax/html/rdfa.vim +++ b/syntax/html/rdfa.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: RDFa " Maintainer: othree <othree@gmail.com> @@ -10,4 +11,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 " RDFa " http://www.w3.org/TR/rdfa-syntax/#s_syntax syn keyword htmlArg contained about content datatype href inlist prefix property rel resource rev src typeof vocab + endif diff --git a/syntax/i3config.vim b/syntax/i3config.vim index 0f0a73fb..aac4c231 100644 --- a/syntax/i3config.vim +++ b/syntax/i3config.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1 + " Vim syntax file " Language: i3 config file " Maintainer: Mohamed Boughaba <mohamed dot bgb at gmail dot com> @@ -249,4 +250,5 @@ hi! def link i3ConfigVariable Statement hi! def link i3ConfigArbitraryCommand Type let b:current_syntax = "i3config" + endif diff --git a/syntax/idris.vim b/syntax/idris.vim index 05566fa4..934c900b 100644 --- a/syntax/idris.vim +++ b/syntax/idris.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1 + " syntax highlighting for idris (idris-lang.org) " " Heavily modified version of the haskell syntax @@ -88,4 +89,5 @@ highlight def link idrisChar String highlight def link idrisBacktick Operator let b:current_syntax = "idris" + endif diff --git a/syntax/ion.vim b/syntax/ion.vim index 0e5455fc..40a5d59c 100644 --- a/syntax/ion.vim +++ b/syntax/ion.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ion') == -1 + if v:version < 600 syntax clear elseif exists('b:current_syntax') @@ -82,4 +83,5 @@ hi def link ionProcess PreProc hi def link ionComment Comment hi def link ionOperator Operator hi def link ionFlag Boolean + endif diff --git a/syntax/jasmine.vim b/syntax/jasmine.vim index 87b3de15..24a299ed 100644 --- a/syntax/jasmine.vim +++ b/syntax/jasmine.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jasmine') == -1 + " Syntax highlighting for jasmine specs (used by http://github.com/thomd/vim-jasmine). " if b:current_syntax is defined, some other syntax files, earlier in 'runtimepath' was already loaded @@ -83,4 +84,5 @@ hi def link jasmineSpecial Special hi def link jasmineSpy Special hi def link jasmineSpyMatcher Statement hi def link jasmineSuite Statement + endif diff --git a/syntax/javascript.vim b/syntax/javascript.vim index a7dbb98e..388d02f9 100644 --- a/syntax/javascript.vim +++ b/syntax/javascript.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 + " Vim syntax file " Language: JavaScript " Maintainer: vim-javascript community @@ -392,4 +393,5 @@ let b:current_syntax = "javascript" if main_syntax == 'javascript' unlet main_syntax endif + endif diff --git a/syntax/javascript/html5.vim b/syntax/javascript/html5.vim index 1d4abb0c..42ab78ad 100644 --- a/syntax/javascript/html5.vim +++ b/syntax/javascript/html5.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1 + " Vim syntax file " Language: HTML5 New Stuff " Maintainer: othree <othree@gmail.com> @@ -48,4 +49,5 @@ syn keyword javascriptDomElemAttrs indeterminate " select https://w3c.github.io/selection-api/#extensions-to-globaleventhandlers syn keyword javascriptDomElemAttrs onselectstart onselectchange + endif diff --git a/syntax/jinja.vim b/syntax/jinja.vim index 439741fa..5f2402b6 100644 --- a/syntax/jinja.vim +++ b/syntax/jinja.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jinja') == -1 + " jinja syntax file " Language: Jinja HTML template " Maintainer: Hsiaoming Yang <lepture@me.com> @@ -85,4 +86,5 @@ hi def link jinjaComBlock Comment hi def link jinjaTodo Todo let b:current_syntax = "jinja" + endif diff --git a/syntax/jinja2.vim b/syntax/jinja2.vim index 749ab66f..830d3be1 100644 --- a/syntax/jinja2.vim +++ b/syntax/jinja2.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 + " Vim syntax file " Language: Jinja2 - with special modifications for compound-filetype " compatibility @@ -96,4 +97,5 @@ if !exists("did_jinja_syn_inits") endif let b:current_syntax = "jinja2" + endif diff --git a/syntax/json.vim b/syntax/json.vim index fb279a3f..dcdfebdf 100644 --- a/syntax/json.vim +++ b/syntax/json.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json') == -1 + " Vim syntax file " Language: JSON " Maintainer: Eli Parra <eli@elzr.com> https://github.com/elzr/vim-json @@ -138,4 +139,5 @@ endif "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. "THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "See https://twitter.com/elzr/status/294964017926119424 + endif diff --git a/syntax/json5.vim b/syntax/json5.vim index f5383374..5b1e5636 100644 --- a/syntax/json5.vim +++ b/syntax/json5.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json5') == -1 + " Modified from the original taken from https://github.com/gutenye/json5.vim " Syntax setup @@ -66,4 +67,5 @@ if !exists('b:current_syntax') let b:current_syntax = 'json5' endif + endif diff --git a/syntax/jst.vim b/syntax/jst.vim index 4174b44c..e520379b 100644 --- a/syntax/jst.vim +++ b/syntax/jst.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1 + if exists("b:current_syntax") finish endif @@ -86,4 +87,5 @@ if exists("loaded_matchit") endif " vim: nowrap sw=2 sts=2 ts=8: + endif diff --git a/syntax/julia.vim b/syntax/julia.vim index cb6c8e80..433c6234 100644 --- a/syntax/julia.vim +++ b/syntax/julia.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1 + " Vim syntax file " Language: julia " Maintainer: Carlo Baldassi <carlobaldassi@gmail.com> @@ -558,4 +559,5 @@ end syntax sync fromstart let b:current_syntax = "julia" + endif diff --git a/syntax/juliadoc.vim b/syntax/juliadoc.vim index 871a2ab5..4092a9ef 100644 --- a/syntax/juliadoc.vim +++ b/syntax/juliadoc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1 + " Vim syntax file for julia document view scriptencoding utf-8 @@ -64,4 +65,5 @@ highlight default link juliadocAdmonitionsType Todo highlight default link juliadocAdmonitionsTitle Title let b:current_syntax = "juliadoc" + endif diff --git a/syntax/kotlin.vim b/syntax/kotlin.vim index 04eab3d7..d47754b0 100644 --- a/syntax/kotlin.vim +++ b/syntax/kotlin.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1 + " Vim syntax file " Language: Kotlin " Maintainer: Alexander Udalov @@ -111,4 +112,5 @@ hi def link ktExclExcl Special hi def link ktArrow Structure let b:current_syntax = 'kotlin' + endif diff --git a/syntax/latextoc.vim b/syntax/latextoc.vim index c5713eb6..454651ca 100644 --- a/syntax/latextoc.vim +++ b/syntax/latextoc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1 + syntax match helpText /^.*: .*/ syntax match secNum /^\S\+\(\.\S\+\)\?\s*/ contained conceal syntax match secLine /^\S\+\t.\+/ contains=secNum @@ -8,4 +9,5 @@ highlight link helpText PreProc highlight link secNum Number highlight link mainSecLine Title highlight link ssubSecLine Comment + endif diff --git a/syntax/less.vim b/syntax/less.vim index 74d249a6..3f497bc6 100644 --- a/syntax/less.vim +++ b/syntax/less.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1 + if exists("b:current_syntax") finish endif @@ -63,4 +64,5 @@ hi def link lessNestedProperty Type hi def link lessClass PreProc let b:current_syntax = "less" + endif diff --git a/syntax/lidris.vim b/syntax/lidris.vim index 883a237d..af65997f 100644 --- a/syntax/lidris.vim +++ b/syntax/lidris.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1 + " Vim syntax file " Language: Literate Idris " Maintainer: Idris Hackers (https://github.com/idris-hackers/idris-vim) @@ -21,4 +22,5 @@ syntax match lidrisBirdTrack "^>" contained hi def link lidrisBirdTrack Comment let b:current_syntax = "lidris" + endif diff --git a/syntax/lilypond-words.vim b/syntax/lilypond-words.vim index 032c4732..5af8d964 100644 --- a/syntax/lilypond-words.vim +++ b/syntax/lilypond-words.vim @@ -1,5 +1,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lilypond') == -1 + syn match lilyKeyword "[-_^]\?\\\(xNotesOn\|xNotesOff\|xNote\|wordwrap-string-internal\|wordwrap-string\|wordwrap-lines\|wordwrap-internal\|wordwrap-field\|wordwrap\|withMusicProperty\|with-url\|with-link\|with-dimensions\|with-color\|with\|whiteout\|whiteTriangleMarkup\|walkerHeadsMinor\|walkerHeads\|vspace\|void\|voiceTwoStyle\|voiceTwo\|voiceThreeStyle\|voiceThree\|voiceOneStyle\|voiceOne\|voiceNeutralStyle\|voiceFourStyle\|voiceFour\|vocalName\|virgula\|virga\|verylongfermata\|versus\|version\|verbatim-file\|vcenter\|varcoda\|upright\|upprall\|upmordent\|upbow\|up\|unset\|unit\|unfoldRepeats\|undo\|underline\|unaCorda\|unHideNotes\|typewriter\|type\|tweak\|turn\|tupletUp\|tupletSpan\|tupletNeutral\|tupletDown\|tuplet\|trill\|triangle\|treCorde\|transposition\|transposedCueDuring\|transpose\|transparent\|translate-scaled\|translate\|topLevelAlignment\|tocTitleMarkup\|tocItemWithDotsMarkup\|tocItemMarkup\|tocItem\|tiny\|timing\|times\|timeSignatureSettings\|timeSignatureFraction\|time\|tied-lyric\|tieWaitForNote\|tieUp\|tieSolid\|tieNeutral\|tieHalfSolid\|tieHalfDashed\|tieDown\|tieDotted\|tieDashed\|tieDashPattern\|thumb\|textSpannerUp\|textSpannerNeutral\|textSpannerDown\|textLengthOn\|textLengthOff\|text\|tenuto\|temporary\|tempoWholesPerMinute\|tempo\|teeny\|tag\|table-of-contents\|tablatureFormat\|tabStaffLineLayoutFunction\|tabFullNotation\|systemStartDelimiter\|sustainOn\|sustainOff\|super\|subdivideBeams\|sub\|styledNoteHeads\|strut\|stropha\|strokeFingerOrientations\|stringTunings\|stringOneTopmost\|stringNumberOrientations\|stopped\|stopTrillSpan\|stopTextSpan\|stopStaff\|stopSlashedGraceMusic\|stopMeasureCount\|stopGroup\|stopGraceSlur\|stopGraceMusic\|stopAppoggiaturaMusic\|stopAcciaccaturaMusic\|stop\|stencil\|stemUp\|stemNeutral\|stemDown\|startTrillSpan\|startTextSpan\|startStaff\|startSlashedGraceMusic\|startRepeatType\|startMeasureCount\|startGroup\|startGraceSlur\|startGraceMusic\|startAppoggiaturaMusic\|startAcciaccaturaMusic\|start\|staccato\|staccatissimo\|squashedPosition\|spp\|spacingTweaks\|sp\|southernHarmonyHeadsMinor\|southernHarmonyHeads\|sostenutoOn\|sostenutoOff\|soloText\|soloIIText\|snappizzicato\|smaller\|smallCaps\|small\|slurUp\|slurSolid\|slurNeutral\|slurHalfSolid\|slurHalfDashed\|slurDown\|slurDotted\|slurDashed\|slurDashPattern\|slashedGrace\|slashed-digit\|slashChordSeparator\|skipTypesetting\|skip\|single\|simultaneous\|simple\|signumcongruentiae\|showStaffSwitch\|showSplitTiedTabNotes\|shortfermata\|shortVocalName\|shortInstrumentName\|shiftOnnn\|shiftOnn\|shiftOn\|shiftOff\|shiftDurations\|sharp\|shape\|sfz\|sfp\|sff\|sf\|settingsFrom\|setDefaultDurationToQuarter\|set\|sesquisharp\|sesquiflat\|sequential\|semisharp\|semiflat\|semicirculus\|semiGermanChords\|segno\|searchForVoice\|scriptDefinitions\|score\|scaleDurations\|scale\|sans\|sacredHarpHeadsMinor\|sacredHarpHeads\|rtoe\|rounded-box\|rotate\|roman\|rightHandFinger\|right-column\|right-brace\|right-align\|right\|rheel\|rfz\|revertTimeSignatureSettings\|revert\|reverseturn\|retrograde\|restrainOpenStrings\|rest-by-number\|rest\|responsum\|resetRelativeOctave\|replace\|repeatTie\|repeatCountVisibility\|repeat\|removeWithTag\|remove\|relative\|rehearsalMark\|raise\|quotedEventTypes\|quotedCueEventTypes\|quoteDuring\|quilisma\|put-adjacent\|pushToTag\|pt\|property-recursive\|printPartCombineTexts\|printKeyCancellation\|predefinedFretboardsOn\|predefinedFretboardsOff\|predefinedDiagramTable\|prallup\|prallprall\|prallmordent\|pralldown\|prall\|ppppp\|pppp\|ppp\|pp\|powerChords\|powerChordSymbol\|powerChordExceptions\|postscript\|portato\|pointAndClickTypes\|pointAndClickOn\|pointAndClickOff\|pitchedTrill\|phrygian\|phrasingSlurUp\|phrasingSlurSolid\|phrasingSlurNeutral\|phrasingSlurHalfSolid\|phrasingSlurHalfDashed\|phrasingSlurDown\|phrasingSlurDotted\|phrasingSlurDashed\|phrasingSlurDashPattern\|pes\|pedalUnaCordaStyle\|pedalUnaCordaStrings\|pedalSustainStyle\|pedalSustainStrings\|pedalSostenutoStyle\|pedalSostenutoStrings\|pattern\|path\|partialJazzMusic\|partialJazzExceptions\|partial\|partcombineUp\|partcombineUnisonoOnce\|partcombineUnisono\|partcombineSoloIOnce\|partcombineSoloIIOnce\|partcombineSoloII\|partcombineSoloI\|partcombineForce\|partcombineDown\|partcombineChordsOnce\|partcombineChords\|partcombineAutomaticOnce\|partcombineAutomatic\|partcombineApartOnce\|partcombineApart\|partcombine\|partCombineTextsOnNote\|partCombineListener\|parenthesize\|parallelMusic\|paper\|palmMuteOn\|palmMuteOff\|palmMute\|pageTurn\|pageBreak\|page-ref\|page-link\|pad-x\|pad-to-box\|pad-markup\|pad-around\|p\|overrideTimeSignatureSettings\|overrideProperty\|override-lines\|override\|oval\|ottava\|oriscus\|open\|oneVoice\|once\|on-the-fly\|omit\|offset\|octaveCheck\|numericTimeSignature\|number\|null\|notemode\|noteToFretFunction\|note-by-number\|note\|normalsize\|normal-text\|normal-size-super\|normal-size-sub\|noPageTurn\|noPageBreak\|noChordSymbol\|noBreak\|noBeam\|newSpacingSection\|new\|neumeDemoLayout\|natural\|name\|musicglyph\|musicMap\|mp\|mordent\|modalTranspose\|modalInversion\|mm\|mixolydian\|minorChordModifier\|minor\|midiInstrument\|midiChannelMapping\|midi\|middleCPosition\|middleCClefPosition\|mf\|metronomeMarkFormatter\|mergeDifferentlyHeadedOn\|mergeDifferentlyHeadedOff\|mergeDifferentlyDottedOn\|mergeDifferentlyDottedOff\|melismaEnd\|melismaBusyProperties\|melisma\|medium\|maxima\|markuplist\|markup\|markletter\|markalphabet\|markLengthOn\|markLengthOff\|markFormatter\|mark\|marcato\|map-markup-commands\|makeClusters\|majorSevenSymbol\|major\|maininput\|magnify\|lyricsto\|lyrics\|lyricmode\|lyricMelismaAlignment\|lydian\|ltoe\|lower\|lookup\|longfermata\|longa\|locrian\|localKeySignature\|lineprall\|linea\|line\|ligature\|lheel\|left-column\|left-brace\|left-align\|left\|layout\|larger\|large\|languageSaveAndChange\|languageRestore\|language\|laissezVibrer\|label\|killCues\|kievanOn\|kievanOff\|keyAlterationOrder\|key\|keepWithTag\|keepAliveInterfaces\|justify-string\|justify-field\|justify\|justified-lines\|italic\|italianChords\|ionian\|inversion\|interscoreline\|instrumentTransposition\|instrumentSwitch\|instrumentName\|instrumentEqualizer\|indent\|include\|inclinatum\|inStaffSegno\|in\|improvisationOn\|improvisationOff\|implicitTimeSignatureVisibility\|ij\|iij\|ignoreFiguredBassRest\|ignoreBarChecks\|ignatzekExceptions\|ignatzekExceptionMusic\|ictus\|huge\|hspace\|highStringOne\|hideStaffSwitch\|hideSplitTiedTabNotes\|hideNotes\|hide\|header\|hcenter-in\|hbracket\|harp-pedal\|harmonicsOn\|harmonicsOff\|harmonicNote\|harmonicByRatio\|harmonicByFret\|harmonicAccidentals\|harmonic\|handleNegativeFrets\|halign\|halfopen\|grobdescriptions\|graceSettings\|grace\|glissando\|germanChords\|general-align\|fz\|funkHeadsMinor\|funkHeads\|fullJazzExceptions\|fromproperty\|fret-diagram-verbose\|fret-diagram-terse\|fret-diagram\|frenchChords\|fraction\|fp\|footnote\|fontsize\|fontSize\|fontCaps\|flexa\|flat\|flageolet\|firstClef\|fingeringOrientations\|finger\|finalis\|filled-box\|fill-with-pattern\|fill-line\|figures\|figuremode\|figuredBassFormatter\|fffff\|ffff\|fff\|ff\|fermataMarkup\|fermata\|featherDurations\|f\|eyeglasses\|extraNatural\|explicitKeySignatureVisibility\|explicitCueClefVisibility\|explicitClefVisibility\|expandFullBarRests\|eventChords\|espressivo\|epsfile\|episemInitium\|episemFinis\|endincipit\|enddim\|enddecresc\|enddecr\|endcresc\|endcr\|endSpanners\|endRepeatType\|ellipse\|easyHeadsOn\|easyHeadsOff\|dynamicUp\|dynamicNeutral\|dynamicDown\|dynamicAbsoluteVolumeFunction\|dynamic\|drums\|drummode\|drumStyleTable\|drumPitchTable\|draw-line\|draw-hline\|draw-dotted-line\|draw-dashed-line\|draw-circle\|downprall\|downmordent\|downbow\|down\|doublesharp\|doubleflat\|doubleRepeatType\|dotsUp\|dotsNeutral\|dotsDown\|dorian\|divisioMinima\|divisioMaxima\|divisioMaior\|displayScheme\|displayMusic\|displayLilyMusic\|dir-column\|dimTextDim\|dimTextDecresc\|dimTextDecr\|dimHairpin\|dim\|description\|descendens\|deprecatedenddim\|deprecatedendcresc\|deprecateddim\|deprecatedcresc\|denies\|deminutum\|defineBarLine\|defaultchild\|defaultTimeSignature\|defaultNoteHeads\|defaultBarType\|default\|decrescendoSpanner\|decresc\|decr\|deadNotesOn\|deadNotesOff\|deadNote\|dashUnderscore\|dashPlus\|dashLarger\|dashHat\|dashDot\|dashDash\|dashBang\|cueDuringWithClef\|cueDuring\|cueClefUnset\|cueClefTranspositionFormatter\|cueClef\|crossStaff\|crescendoSpanner\|crescTextCresc\|crescHairpin\|cresc\|createSpacing\|cr\|context\|consists\|concat\|compressFullBarRests\|compoundMeter\|command-name\|combine\|column-lines\|column\|coda\|cm\|clefTranspositionFormatter\|clefTransposition\|clefPosition\|clefGlyph\|clef\|circulus\|circle\|chords\|chordmodifiers\|chordmode\|chordRootNamer\|chordPrefixSpacer\|chordNoteNamer\|chordNameSeparator\|chordNameLowercaseMinor\|chordNameFunction\|chordNameExceptionsPartial\|chordNameExceptionsFull\|chordNameExceptions\|char\|change\|center-column\|center-align\|center\|cavum\|caps\|caesura\|cadenzaOn\|cadenzaOff\|breve\|breathe\|breakDynamicSpan\|break\|bracket\|box\|bookpart\|bookOutputSuffix\|bookOutputName\|book\|bold\|blackTriangleMarkup\|bigger\|bendAfter\|beamHalfMeasure\|beam\|bassStaffProperties\|bassFigureStaffAlignmentUp\|bassFigureStaffAlignmentNeutral\|bassFigureStaffAlignmentDown\|bassFigureExtendersOn\|bassFigureExtendersOff\|barNumberVisibility\|barNumberFormatter\|barNumberCheck\|barCheckSynchronize\|barAlways\|bar\|balloonText\|balloonLengthOn\|balloonLengthOff\|balloonGrobText\|backslashed-digit\|automaticBars\|autochange\|autoCautionaries\|autoBeaming\|autoBeamOn\|autoBeamOff\|autoBeamCheck\|autoAccidentals\|auto-footnote\|augmentum\|auctum\|assertBeamSlope\|assertBeamQuant\|ascendens\|arrow-head\|arpeggioParenthesisDashed\|arpeggioParenthesis\|arpeggioNormal\|arpeggioBracket\|arpeggioArrowUp\|arpeggioArrowDown\|arpeggio\|appoggiatura\|applyOutput\|applyMusic\|applyContext\|appendToTag\|alternative\|alterBroken\|allowVoltaHook\|allowPageTurn\|alias\|aikenHeadsMinor\|aikenHeads\|afterGraceFraction\|afterGrace\|aeolian\|addlyrics\|additionalPitchPrefix\|addQuote\|addInstrumentDefinition\|accidentalStyle\|acciaccatura\|accepts\|accentus\|accent\|absolute\|abs-fontsize\|aDueText\|RemoveEmptyTabStaffContext\|RemoveEmptyStaffContext\|RemoveEmptyRhythmicStaffContext\|RemoveEmptyDrumStaffContext\|IJ\|IIJ\|C\|B\|AncientRemoveEmptyStaffContext\|A\|n\)\(\A\|\n\)"me=e-1 syn match lilyReservedWord "\(\A\|\n\)\(warnings\|staff\|spacing\|signature\|shift\|routine\|notes\|handler\|corrected\|beams\|arpeggios\|Volta_engraver\|Voice\|Vertical_align_engraver\|Vaticana_ligature_engraver\|VaticanaVoice\|VaticanaStaff\|Tweak_engraver\|Tuplet_engraver\|Trill_spanner_engraver\|Timing_translator\|Time_signature_performer\|Time_signature_engraver\|Tie_performer\|Tie_engraver\|Text_spanner_engraver\|Text_engraver\|Tempo_performer\|Tab_tie_follow_engraver\|Tab_staff_symbol_engraver\|Tab_note_heads_engraver\|TabVoice\|TabStaff\|System_start_delimiter_engraver\|Stem_engraver\|Stanza_number_engraver\|Stanza_number_align_engraver\|Staff_symbol_engraver\|Staff_performer\|Staff_collecting_engraver\|StaffGroup\|Staff\|Spanner_break_forbid_engraver\|Span_bar_stub_engraver\|Span_bar_engraver\|Span_arpeggio_engraver\|Spacing_engraver\|Slur_performer\|Slur_engraver\|Slash_repeat_engraver\|Separating_line_group_engraver\|Script_row_engraver\|Script_engraver\|Script_column_engraver\|Score\|Rhythmic_column_engraver\|RhythmicStaff\|Rest_engraver\|Rest_collision_engraver\|Repeat_tie_engraver\|Repeat_acknowledge_engraver\|Pure_from_neighbor_engraver\|Pitched_trill_engraver\|Pitch_squash_engraver\|Piano_pedal_performer\|Piano_pedal_engraver\|Piano_pedal_align_engraver\|PianoStaff\|Phrasing_slur_engraver\|PetrucciVoice\|PetrucciStaff\|Percent_repeat_engraver\|Part_combine_engraver\|Parenthesis_engraver\|Paper_column_engraver\|Output_property_engraver\|Ottava_spanner_engraver\|NullVoice\|Note_spacing_engraver\|Note_performer\|Note_name_engraver\|Note_heads_engraver\|Note_head_line_engraver\|NoteNames\|New_fingering_engraver\|Multi_measure_rest_engraver\|Midi_control_function_performer\|Metronome_mark_engraver\|Mensural_ligature_engraver\|MensuralVoice\|MensuralStaff\|Mark_engraver\|Lyrics\|Lyric_performer\|Lyric_engraver\|Ligature_bracket_engraver\|Ledger_line_engraver\|Laissez_vibrer_engraver\|Kievan_ligature_engraver\|KievanVoice\|KievanStaff\|Key_performer\|Key_engraver\|Keep_alive_together_engraver\|Instrument_switch_engraver\|Instrument_name_engraver\|Hyphen_engraver\|Grob_pq_engraver\|GregorianTranscriptionVoice\|GregorianTranscriptionStaff\|GrandStaff\|Grace_spacing_engraver\|Grace_engraver\|Grace_beam_engraver\|Grace_auto_beam_engraver\|Global\|Glissando_engraver\|Fretboard_engraver\|FretBoards\|Forbid_line_break_engraver\|Footnote_engraver\|Font_size_engraver\|Fingering_engraver\|Fingering_column_engraver\|Figured_bass_position_engraver\|Figured_bass_engraver\|FiguredBass\|Extender_engraver\|Episema_engraver\|Dynamics\|Dynamic_performer\|Dynamic_engraver\|Dynamic_align_engraver\|Drum_notes_engraver\|Drum_note_performer\|DrumVoice\|DrumStaff\|Double_percent_repeat_engraver\|Dots_engraver\|Dot_column_engraver\|Devnull\|Default_bar_line_engraver\|Custos_engraver\|Cue_clef_engraver\|CueVoice\|Control_track_performer\|Concurrent_hairpin_engraver\|Collision_engraver\|Cluster_spanner_engraver\|Clef_engraver\|Chord_tremolo_engraver\|Chord_name_engraver\|ChordNames\|ChordNameVoice\|ChoirStaff\|Breathing_sign_engraver\|Break_align_engraver\|Bend_engraver\|Beam_performer\|Beam_engraver\|Beam_collision_engraver\|Bar_number_engraver\|Bar_engraver\|Axis_group_engraver\|Auto_beam_engraver\|Arpeggio_engraver\|Accidental_engraver\|Score\)\(\A\|\n\)"ms=s+1,me=e-1 syn match lilyNote "\<\(\(\(solx\|soltcs\|soltcb\|solstqt\|solss\|solsqt\|solsd\|solsb\|sols\|solkk\|solk\|soldsd\|soldd\|sold\|solcs\|solcb\|solbtqt\|solbsb\|solbqt\|solbb\|solb\|sol\|six\|sitcs\|sitcb\|sistqt\|siss\|sisqt\|sisd\|sisb\|sis\|sikk\|sik\|sidsd\|sidd\|sid\|sics\|sicb\|sibtqt\|sibsb\|sibqt\|sibb\|sib\|si\|rex\|retcs\|retcb\|restqt\|ress\|resqt\|resd\|resb\|res\|rekk\|rek\|redsd\|redd\|red\|recs\|recb\|rebtqt\|rebsb\|rebqt\|rebb\|reb\|re\|mix\|mitcs\|mitcb\|mistqt\|miss\|misqt\|misd\|misb\|mis\|mikk\|mik\|midsd\|midd\|mid\|mics\|micb\|mibtqt\|mibsb\|mibqt\|mibb\|mib\|mi\|lax\|latcs\|latcb\|lastqt\|lass\|lasqt\|lasd\|lasb\|las\|lakk\|lak\|ladsd\|ladd\|lad\|lacs\|lacb\|labtqt\|labsb\|labqt\|labb\|lab\|la\|hississ\|hiss\|hisis\|hisih\|his\|hih\|hessess\|heses\|heseh\|h\|gx\|gtqs\|gtqf\|gss\|gsharpsharp\|gsharp\|gs\|gqs\|gqf\|gississ\|giss\|gisis\|gisih\|gis\|gih\|gflatflat\|gflat\|gff\|gf\|gessess\|gess\|geses\|geseh\|ges\|geh\|g\|fx\|ftqs\|ftqf\|fss\|fsharpsharp\|fsharp\|fs\|fqs\|fqf\|fississ\|fiss\|fisis\|fisih\|fis\|fih\|fflatflat\|fflat\|fff\|ff\|fessess\|fess\|feses\|feseh\|fes\|feh\|fax\|fatcs\|fatcb\|fastqt\|fass\|fasqt\|fasd\|fasb\|fas\|fakk\|fak\|fadsd\|fadd\|fad\|facs\|facb\|fabtqt\|fabsb\|fabqt\|fabb\|fab\|fa\|f\|ex\|etqs\|etqf\|essess\|ess\|esharpsharp\|esharp\|eses\|eseh\|es\|eqs\|eqf\|eississ\|eiss\|eisis\|eisih\|eis\|eih\|eflatflat\|eflat\|eff\|ef\|eessess\|eess\|eeses\|eeseh\|ees\|eeh\|e\|dx\|dtqs\|dtqf\|dss\|dsharpsharp\|dsharp\|ds\|dqs\|dqf\|dox\|dotcs\|dotcb\|dostqt\|doss\|dosqt\|dosd\|dosb\|dos\|dokk\|dok\|dodsd\|dodd\|dod\|docs\|docb\|dobtqt\|dobsb\|dobqt\|dobb\|dob\|do\|dississ\|diss\|disis\|disih\|dis\|dih\|dflatflat\|dflat\|dff\|df\|dessess\|dess\|deses\|deseh\|des\|deh\|d\|cx\|ctqs\|ctqf\|css\|csharpsharp\|csharp\|cs\|cqs\|cqf\|cississ\|ciss\|cisis\|cisih\|cis\|cih\|cflatflat\|cflat\|cff\|cf\|cessess\|cess\|ceses\|ceseh\|ces\|ceh\|c\|bx\|btqs\|btqf\|bss\|bsharpsharp\|bsharp\|bs\|bqs\|bqf\|bisis\|bisih\|bis\|bih\|bflatflat\|bflat\|bff\|bf\|bess\|beses\|beseh\|bes\|beh\|bb\|b\|ax\|atqs\|atqf\|assess\|ass\|asharpsharp\|asharp\|ases\|aseh\|asas\|asah\|as\|aqs\|aqf\|aississ\|aiss\|aisis\|aisih\|ais\|aih\|aflatflat\|aflat\|aff\|af\|aessess\|aess\|aeses\|aeseh\|aes\|aeh\|a\|a\)\([,']\)\{,4}\([?!]\)\?\)\|s\|r\|R\|q\)\(\(128\|64\|32\|16\|8\|4\|2\|1\|\\breve\|\\longa\|\\maxima\)[.]\{,8}\)\?\(\A\|\n\)"me=e-1 + endif diff --git a/syntax/lilypond.vim b/syntax/lilypond.vim index 7e0e8fbb..feed18c5 100644 --- a/syntax/lilypond.vim +++ b/syntax/lilypond.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lilypond') == -1 + " LilyPond syntax file " Language: LilyPond " Maintainer: Heikki Junes <hjunes@cc.hut.fi> @@ -86,4 +87,5 @@ if version >= 508 || !exists("did_lily_syn_inits") endif let b:current_syntax = "lilypond" + endif diff --git a/syntax/litcoffee.vim b/syntax/litcoffee.vim index 3957140b..fb49e49c 100644 --- a/syntax/litcoffee.vim +++ b/syntax/litcoffee.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 + " Language: Literate CoffeeScript " Maintainer: Michael Smith <michael@diglumi.com> " URL: https://github.com/mintplant/vim-literate-coffeescript @@ -22,4 +23,5 @@ syn region inlineCoffee start='^ \|\t' end='$' contains=@coffee highlight default link notCoffee Comment let b:current_syntax = "litcoffee" + endif diff --git a/syntax/llvm.vim b/syntax/llvm.vim index 740b2639..31746336 100644 --- a/syntax/llvm.vim +++ b/syntax/llvm.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'llvm') == -1 + " Vim syntax file " Language: llvm " Maintainer: The LLVM team, http://llvm.org/ @@ -232,4 +233,5 @@ if version >= 508 || !exists("did_c_syn_inits") endif let b:current_syntax = "llvm" + endif diff --git a/syntax/log.vim b/syntax/log.vim index f44ae9ff..dd343c98 100644 --- a/syntax/log.vim +++ b/syntax/log.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'log') == -1 + " Vim syntax file " Language: Generic log file " Maintainer: MTDL9 <https://github.com/MTDL9> @@ -158,4 +159,5 @@ let b:current_syntax = 'log' let &cpoptions = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/ls.vim b/syntax/ls.vim index 4b5feb82..f13dbf11 100644 --- a/syntax/ls.vim +++ b/syntax/ls.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1 + " Language: LiveScript " " Maintainer: George Zahariev " URL: http://github.com/gkz/vim-ls @@ -135,4 +136,5 @@ highlight default link lsSpaceError Error if !exists('b:current_syntax') let b:current_syntax = 'livescript' endif + endif diff --git a/syntax/lua.vim b/syntax/lua.vim index 0daa6477..e86b8637 100644 --- a/syntax/lua.vim +++ b/syntax/lua.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lua') == -1 + " Vim syntax file " Language: Lua " URL: https://github.com/tbastos/vim-lua @@ -246,4 +247,5 @@ let b:current_syntax = "lua" if main_syntax == 'lua' unlet main_syntax endif + endif diff --git a/syntax/mako.vim b/syntax/mako.vim index 5fa30c24..d8d685ff 100644 --- a/syntax/mako.vim +++ b/syntax/mako.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1 + " Vim syntax file " Language: Mako " Maintainer: Armin Ronacher <armin.ronacher@active-4.com> @@ -102,4 +103,5 @@ if version >= 508 || !exists("did_mako_syn_inits") endif let b:current_syntax = b:mako_outer_lang + endif diff --git a/syntax/markdown.vim b/syntax/markdown.vim index a4207919..063ba10d 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1 + " Vim syntax file " Language: Markdown " Maintainer: Ben Williams <benw@plasticboy.com> @@ -183,4 +184,5 @@ let b:current_syntax = "mkd" delcommand HtmlHiLink " vim: ts=8 + endif diff --git a/syntax/mason.vim b/syntax/mason.vim index 2915055e..9e7d82e5 100644 --- a/syntax/mason.vim +++ b/syntax/mason.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim syntax file " Language: Mason (Perl embedded in HTML) " Maintainer: vim-perl <vim-perl@googlegroups.com> @@ -82,4 +83,5 @@ let b:current_syntax = "mason" if main_syntax == 'mason' unlet main_syntax endif + endif diff --git a/syntax/merlin.vim b/syntax/merlin.vim index 97f400d1..c0f84fa9 100644 --- a/syntax/merlin.vim +++ b/syntax/merlin.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'reason') == -1 + " Vim syntax file for editing merlin project files if exists("b:current_syntax") finish @@ -12,4 +13,5 @@ hi link merlinComment Comment let b:current_syntax = "merlin" + endif diff --git a/syntax/meson.vim b/syntax/meson.vim index 025a991b..fb736415 100644 --- a/syntax/meson.vim +++ b/syntax/meson.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'meson') == -1 + " Vim syntax file " Language: Meson " Maintainer: Nirbheek Chauhan <nirbheek.chauhan@gmail.com> @@ -163,4 +164,5 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim:set sw=2 sts=2 ts=8 noet: + endif diff --git a/syntax/mma.vim b/syntax/mma.vim index 33925394..faae8279 100644 --- a/syntax/mma.vim +++ b/syntax/mma.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mathematica') == -1 + " Vim syntax file " Language: Mathematica " Maintainer: Voldikss <dyzplus@gmail.com> @@ -1359,4 +1360,5 @@ let b:current_syntax = "mma" let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/moon.vim b/syntax/moon.vim index cc9f6433..10d9b32b 100644 --- a/syntax/moon.vim +++ b/syntax/moon.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'moonscript') == -1 + " Language: MoonScript " Maintainer: leafo <leafot@gmail.com> " Based On: CoffeeScript by Mick Koch <kchmck@gmail.com> @@ -316,4 +317,5 @@ syn cluster moonAll contains=moonStatement,moonRepeat,moonConditional, if !exists('b:current_syntax') let b:current_syntax = 'moon' endif + endif diff --git a/syntax/mustache.vim b/syntax/mustache.vim index e37087d6..f6730e1f 100644 --- a/syntax/mustache.vim +++ b/syntax/mustache.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1 + " Mustache & Handlebars syntax " Language: Mustache, Handlebars " Maintainer: Juvenn Woo <machese@gmail.com> @@ -105,4 +106,5 @@ syn region mustacheScriptTemplate start=+<script [^>]*type *=[^>]*text/\(mustach let b:current_syntax = "mustache" delcommand HtmlHiLink + endif diff --git a/syntax/nginx.vim b/syntax/nginx.vim index 7b0822a3..4c6a901d 100644 --- a/syntax/nginx.vim +++ b/syntax/nginx.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 + " Vim syntax file " Language: nginx.conf " Maintainer: Chris Aumann <me@chr4.org> @@ -2304,4 +2305,5 @@ hi link ngxGzipOn Error hi link ngxSSLCipherInsecure Error hi link ngxThirdPartyLuaBlock Function + endif diff --git a/syntax/nim.vim b/syntax/nim.vim index b374bc1d..37f8d9fa 100644 --- a/syntax/nim.vim +++ b/syntax/nim.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1 + " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded if version < 600 @@ -203,4 +204,5 @@ endif let b:current_syntax = "nim" + endif diff --git a/syntax/nix.vim b/syntax/nix.vim index 1c50a08c..9c6fa29a 100644 --- a/syntax/nix.vim +++ b/syntax/nix.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1 + " Vim syntax file " Language: Nix " Maintainer: Daiderd Jordan <daiderd@gmail.com> @@ -196,4 +197,5 @@ hi def link nixWithExprKeyword Keyword syn sync fromstart let b:current_syntax = "nix" + endif diff --git a/syntax/oasis.vim b/syntax/oasis.vim index 95364f2c..054d0534 100644 --- a/syntax/oasis.vim +++ b/syntax/oasis.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + if exists("b:current_syntax") finish endif @@ -94,4 +95,5 @@ highlight link oasisString String highlight link oasisVersion Number let b:current_syntax = "oasis" + endif diff --git a/syntax/ocaml.vim b/syntax/ocaml.vim index 5e6f9359..ecb18aff 100644 --- a/syntax/ocaml.vim +++ b/syntax/ocaml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + " Vim syntax file " Language: OCaml " Filenames: *.ml *.mli *.mll *.mly @@ -390,4 +391,5 @@ endif let b:current_syntax = "ocaml" " vim: ts=8 + endif diff --git a/syntax/ocamlbuild_tags.vim b/syntax/ocamlbuild_tags.vim index 357ee9c6..7f73366b 100644 --- a/syntax/ocamlbuild_tags.vim +++ b/syntax/ocamlbuild_tags.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + if exists("b:current_syntax") finish endif @@ -39,4 +40,5 @@ hi! link ocamlbuild_tagsComment Comment hi link ocamlbuild_tagsFindlibPkg Identifier let b:current_syntax = "ocamlbuild_tags" + endif diff --git a/syntax/octave.vim b/syntax/octave.vim index ceaa795e..d07c9ab2 100644 --- a/syntax/octave.vim +++ b/syntax/octave.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'octave') == -1 + " Vim syntax file " Language: Octave " Maintainer: Rik <rik@nomad.inbox5.com> @@ -613,4 +614,5 @@ endif let b:current_syntax = "octave" "EOF vim: ts=8 noet tw=100 sw=8 sts=0 + endif diff --git a/syntax/omake.vim b/syntax/omake.vim index 63ac9f46..47edd57e 100644 --- a/syntax/omake.vim +++ b/syntax/omake.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + " Vim syntax file " Language: OMakefile @@ -127,4 +128,5 @@ hi def link omakeRuleOption Type let b:current_syntax = "omake" " vim: ts=8 + endif diff --git a/syntax/opam.vim b/syntax/opam.vim index bc593804..d98dd0a7 100644 --- a/syntax/opam.vim +++ b/syntax/opam.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + if exists("b:current_syntax") finish endif @@ -30,4 +31,5 @@ hi link opamInterpolate Identifier let b:current_syntax = "opam" " vim: ts=2 sw=2 + endif diff --git a/syntax/opencl.vim b/syntax/opencl.vim index 12842bad..57035ac0 100644 --- a/syntax/opencl.vim +++ b/syntax/opencl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'opencl') == -1 + " Vim syntax file " Language: OpenCL (Open Computing Language) " Maintainer: Terence Ou (rivan_@msn.com) @@ -156,4 +157,5 @@ hi def link clStatement Statement let b:current_syntax = "opencl" " vim: ts=8 + endif diff --git a/syntax/perl.vim b/syntax/perl.vim index 0ffa7565..b7a10a19 100644 --- a/syntax/perl.vim +++ b/syntax/perl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim syntax file " Language: Perl 5 " Maintainer: vim-perl <vim-perl@googlegroups.com> @@ -581,4 +582,5 @@ unlet s:cpo_save " XXX Change to sts=4:sw=4 " vim:ts=8:sts=2:sw=2:expandtab:ft=vim + endif diff --git a/syntax/pgsql.vim b/syntax/pgsql.vim index 46bb423a..88d99064 100644 --- a/syntax/pgsql.vim +++ b/syntax/pgsql.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pgsql') == -1 + " Vim syntax file " Language: SQL (PostgreSQL dialect), PL/pgSQL, PL/…, PostGIS, … " Maintainer: Lifepillar @@ -1993,4 +1994,5 @@ hi def link sqlCreateTextSearchKeyword sqlKeyword let b:current_syntax = "sql" + endif diff --git a/syntax/php.vim b/syntax/php.vim index 56f53efa..e77c415f 100644 --- a/syntax/php.vim +++ b/syntax/php.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'php') == -1 + " Vim syntax file " Language: PHP 5.3 & up " @@ -967,4 +968,5 @@ endif " }}} " vim: ts=8 sts=2 sw=2 fdm=marker expandtab + endif diff --git a/syntax/plantuml.vim b/syntax/plantuml.vim index bce66772..7bcc9181 100644 --- a/syntax/plantuml.vim +++ b/syntax/plantuml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1 + scriptencoding utf-8 " Vim syntax file " Language: PlantUML @@ -395,4 +396,5 @@ highlight default link plantumlStereotype Type let &cpoptions=s:cpo_orig unlet s:cpo_orig + endif diff --git a/syntax/pod.vim b/syntax/pod.vim index 09ec66be..737fe842 100644 --- a/syntax/pod.vim +++ b/syntax/pod.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim syntax file " Language: Perl POD format " Maintainer: vim-perl <vim-perl@googlegroups.com> @@ -174,4 +175,5 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: ts=8 + endif diff --git a/syntax/pony.vim b/syntax/pony.vim index 2895057f..9f790b5a 100644 --- a/syntax/pony.vim +++ b/syntax/pony.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1 + " Vim syntax file " Language: Pony " Maintainer: Jak Wings @@ -226,4 +227,5 @@ let &cpo = s:cpo_save unlet s:cpo_save let b:current_syntax = 'pony' + endif diff --git a/syntax/proto.vim b/syntax/proto.vim index bc5a3eef..ce232f53 100644 --- a/syntax/proto.vim +++ b/syntax/proto.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'protobuf') == -1 + " Protocol Buffers - Google's data interchange format " Copyright 2008 Google Inc. All rights reserved. " https://developers.google.com/protocol-buffers/ @@ -106,4 +107,5 @@ if version >= 508 || !exists("did_proto_syn_inits") endif let b:current_syntax = "proto" + endif diff --git a/syntax/ps1.vim b/syntax/ps1.vim index 4453200e..d1aec431 100644 --- a/syntax/ps1.vim +++ b/syntax/ps1.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1 + " Vim syntax file " Language: Windows PowerShell " Maintainer: Peter Provost <peter@provost.org> @@ -184,4 +185,5 @@ if version >= 508 || !exists("did_ps1_syn_inits") endif let b:current_syntax = "ps1" + endif diff --git a/syntax/ps1xml.vim b/syntax/ps1xml.vim index 2703dbf3..9c747879 100644 --- a/syntax/ps1xml.vim +++ b/syntax/ps1xml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1 + " Vim syntax file " Language: Windows PowerShell XML " Maintainer: Peter Provost <peter@provost.org> @@ -55,4 +56,5 @@ let b:current_syntax = "ps1xml" let &cpo = s:ps1xml_cpo_save unlet s:ps1xml_cpo_save + endif diff --git a/syntax/pug.vim b/syntax/pug.vim index e269ab41..c83b35c6 100644 --- a/syntax/pug.vim +++ b/syntax/pug.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pug') == -1 + " Vim syntax file " Language: Pug " Maintainer: Joshua Borton @@ -112,4 +113,5 @@ let b:current_syntax = "pug" if main_syntax == "pug" unlet main_syntax endif + endif diff --git a/syntax/puppet.vim b/syntax/puppet.vim index c5082ed2..c28a7255 100644 --- a/syntax/puppet.vim +++ b/syntax/puppet.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1 + " puppet syntax file " Filename: puppet.vim " Language: puppet configuration file @@ -169,4 +170,5 @@ if version >= 508 || !exists("did_puppet_syn_inits") endif let b:current_syntax = "puppet" + endif diff --git a/syntax/purescript.vim b/syntax/purescript.vim index 376f8aee..346bc8e5 100644 --- a/syntax/purescript.vim +++ b/syntax/purescript.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'purescript') == -1 + " syntax highlighting for purescript " " Heavily modified version of the purescript syntax @@ -216,4 +217,5 @@ highlight def link purescriptType Type highlight def link purescriptComment Comment let b:current_syntax = "purescript" + endif diff --git a/syntax/python.vim b/syntax/python.vim index 29c4bae1..74c7732c 100644 --- a/syntax/python.vim +++ b/syntax/python.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python') == -1 + " For version 5.x: Clear all syntax items " For versions greater than 6.x: Quit when a syntax file was already loaded if v:version < 600 @@ -492,4 +493,5 @@ if v:version >= 508 || !exists('did_python_syn_inits') endif let b:current_syntax = 'python' + endif diff --git a/syntax/qmake.vim b/syntax/qmake.vim index acc09c6b..5639b994 100644 --- a/syntax/qmake.vim +++ b/syntax/qmake.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qmake') == -1 + " qmake project syntax file " Language: qmake project " Maintainer: Arto Jonsson <ajonsson@kapsi.fi> @@ -298,4 +299,5 @@ hi def link qmakeQtConfiguration PreProc hi def link qmakeScope Conditional let b:current_syntax = "qmake" + endif diff --git a/syntax/qml.vim b/syntax/qml.vim index b7d2ba1d..ff2e597f 100644 --- a/syntax/qml.vim +++ b/syntax/qml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1 + " Vim syntax file " Language: QML " Maintainer: Peter Hoeg <peter@hoeg.com> @@ -134,4 +135,5 @@ let b:current_syntax = "qml" if main_syntax == 'qml' unlet main_syntax endif + endif diff --git a/syntax/racket.vim b/syntax/racket.vim index 111531ad..e7b0600a 100644 --- a/syntax/racket.vim +++ b/syntax/racket.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'racket') == -1 + " Vim syntax file " Language: Racket " Maintainer: Will Langstroth <will@langstroth.com> @@ -659,4 +660,5 @@ if version >= 508 || !exists("did_racket_syntax_inits") endif let b:current_syntax = "racket" + endif diff --git a/syntax/ragel.vim b/syntax/ragel.vim index 57e89637..0ac49771 100644 --- a/syntax/ragel.vim +++ b/syntax/ragel.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ragel') == -1 + " Vim syntax file " " Language: Ragel @@ -163,4 +164,5 @@ hi link caseLabelKeyword Keyword hi link beginRL Type let b:current_syntax = "ragel" + endif diff --git a/syntax/raml.vim b/syntax/raml.vim index b52cf23b..69f7439c 100644 --- a/syntax/raml.vim +++ b/syntax/raml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'raml') == -1 + " Vim syntax file " Language: RAML (RESTful API Modeling Language) " Maintainer: Eric Hopkins <eric.on.tech@gmail.com> @@ -105,4 +106,5 @@ let b:current_syntax = "raml" let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/reason.vim b/syntax/reason.vim index 59fdac64..19e8590b 100644 --- a/syntax/reason.vim +++ b/syntax/reason.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'reason') == -1 + " Vim syntax file " Language: Reason (Forked from Rust) " Maintainer: (Jordan - for Reason changes) Patrick Walton <pcwalton@mozilla.com> @@ -249,4 +250,5 @@ syn sync minlines=200 syn sync maxlines=500 let b:current_syntax = "rust" + endif diff --git a/syntax/rhelp.vim b/syntax/rhelp.vim index 43e155a6..42d3b004 100644 --- a/syntax/rhelp.vim +++ b/syntax/rhelp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1 + " Vim syntax file " Language: R Help File " Maintainer: Johannes Ranke <jranke@uni-bremen.de> @@ -154,4 +155,5 @@ endif let b:current_syntax = "rhelp" " vim: foldmethod=marker: + endif diff --git a/syntax/rnoweb.vim b/syntax/rnoweb.vim index 5b09f3dc..f3058c7e 100644 --- a/syntax/rnoweb.vim +++ b/syntax/rnoweb.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1 + " Vim syntax file " Language: R noweb Files " Maintainer: Johannes Ranke <jranke@uni-bremen.de> @@ -55,4 +56,5 @@ hi def link rnowebChunkReference Delimiter let b:current_syntax = "rnoweb" " vim: foldmethod=marker: + endif diff --git a/syntax/rst.vim b/syntax/rst.vim index 93e2e9e3..0679a396 100644 --- a/syntax/rst.vim +++ b/syntax/rst.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rst') == -1 + " Vim syntax file " Language: reStructuredText documentation format " Maintainer: Marshall Ward <marshall.ward@gmail.com> @@ -289,4 +290,5 @@ let b:current_syntax = "rst" let &cpo = s:cpo_save unlet s:cpo_save + endif diff --git a/syntax/ruby.vim b/syntax/ruby.vim index c2063459..90f1ceba 100644 --- a/syntax/ruby.vim +++ b/syntax/ruby.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 + " Vim syntax file " Language: Ruby " Maintainer: Doug Kearns <dougkearns@gmail.com> @@ -594,4 +595,5 @@ unlet! s:cpo_sav delc SynFold " vim: nowrap sw=2 sts=2 ts=8 noet fdm=marker: + endif diff --git a/syntax/rust.vim b/syntax/rust.vim index 21063bcd..18e804c1 100644 --- a/syntax/rust.vim +++ b/syntax/rust.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1 + " Vim syntax file " Language: Rust " Maintainer: Patrick Walton <pcwalton@mozilla.com> @@ -362,4 +363,5 @@ syn sync maxlines=500 let b:current_syntax = "rust" " vim: set et sw=4 sts=4 ts=8: + endif diff --git a/syntax/sbt.vim b/syntax/sbt.vim index 3d49abd0..80b360e6 100644 --- a/syntax/sbt.vim +++ b/syntax/sbt.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sbt') == -1 + " Vim syntax file " Language: sbt " Maintainer: Derek Wyatt <derek@{myfirstname}{mylastname}.org> @@ -32,4 +33,5 @@ hi link sbtSpecial Special hi link sbtComment Comment hi link sbtLineComment Comment hi link sbtDocComment Comment + endif diff --git a/syntax/scala.vim b/syntax/scala.vim index c54694b6..10f884f4 100644 --- a/syntax/scala.vim +++ b/syntax/scala.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1 + " Vim syntax file " Language: Scala " Maintainer: Derek Wyatt @@ -230,4 +231,5 @@ if main_syntax ==# 'scala' endif " vim:set sw=2 sts=2 ts=8 et: + endif diff --git a/syntax/scss.vim b/syntax/scss.vim index 22f5b44b..5e40d35c 100644 --- a/syntax/scss.vim +++ b/syntax/scss.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scss') == -1 + " Vim syntax file " Language: SCSS (Sassy CSS) " Author: Daniel Hofstetter (daniel.hofstetter@42dh.com) @@ -222,4 +223,5 @@ let b:current_syntax = "scss" if main_syntax == 'scss' unlet main_syntax endif + endif diff --git a/syntax/sexplib.vim b/syntax/sexplib.vim index 9700eab8..4d7fc1e1 100644 --- a/syntax/sexplib.vim +++ b/syntax/sexplib.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 + " Vim syntax file " Language: S-expressions as used in Sexplib " Filenames: *.sexp @@ -87,4 +88,5 @@ endif let b:current_syntax = "sexplib" " vim: ts=8 + endif diff --git a/syntax/slim.vim b/syntax/slim.vim index c7e0cc1f..24b50a02 100644 --- a/syntax/slim.vim +++ b/syntax/slim.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'slim') == -1 + " Vim syntax file " Language: Slim " Maintainer: Andrew Stone <andy@stonean.com> @@ -108,4 +109,5 @@ hi def link slimInlineTagChar Delimiter hi def link slimFilter PreProc let b:current_syntax = "slim" + endif diff --git a/syntax/slime.vim b/syntax/slime.vim index f9ad0ba7..d6f3076c 100644 --- a/syntax/slime.vim +++ b/syntax/slime.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'slime') == -1 + " Vim syntax file " Language: slime " Maintainer: Andrew Stone <andy@stonean.com> @@ -101,4 +102,5 @@ hi def link slimeWrappedAttrsDelimiter Delimiter hi def link slimeInlineTagChar Delimiter let b:current_syntax = "slime" + endif diff --git a/syntax/smhl.vim b/syntax/smhl.vim index 3b6dc2e9..a36d647f 100644 --- a/syntax/smhl.vim +++ b/syntax/smhl.vim @@ -1,4 +1,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax cluster _semantic contains=_semantic1,_semantic2,_semantic3,_semantic4,_semantic5,_semantic6,_semantic7,_semantic8,_semantic9,_semantic10,_semantic11,_semantic12,_semantic13,_semantic14,_semantic15,_semantic16,_semantic17,_semantic18,_semantic19,_semantic20,_semantic21,_semantic22,_semantic23,_semantic24,_semantic25 + endif diff --git a/syntax/smt2.vim b/syntax/smt2.vim index 92605969..5fa941d4 100644 --- a/syntax/smt2.vim +++ b/syntax/smt2.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'smt2') == -1 + " Vim syntax file " " Language: SMT-LIB2 with Z3's extensions " " Maintainer: Dimitri Bohlender <bohlender@embedded.rwth-aachen.de> @@ -174,4 +175,5 @@ highlight def link smt2Binary Number highlight def link smt2Int Number highlight def link smt2Delimiter Delimiter highlight def link smt2Error Error + endif diff --git a/syntax/solidity.vim b/syntax/solidity.vim index 56dff8d8..ebf9549d 100644 --- a/syntax/solidity.vim +++ b/syntax/solidity.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'solidity') == -1 + " Vim syntax file " Language: Solidity " Maintainer: Tomlion (qycpublic@gmail.com) @@ -147,4 +148,5 @@ syn region solComment start="/\*" end="\*/" contains=solCommentTodo, hi def link solCommentTodo Comment hi def link solLineComment Comment hi def link solComment Comment + endif diff --git a/syntax/stylus.vim b/syntax/stylus.vim index bbdc2229..36972ad6 100644 --- a/syntax/stylus.vim +++ b/syntax/stylus.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'stylus') == -1 + " Vim syntax file " Language: CSS3 " Maintainer: Hsiaoming Yang <lepture@me.com> @@ -375,4 +376,5 @@ hi def link stylusIdChar Special let b:current_syntax = "stylus" " vim:set sw=2: + endif diff --git a/syntax/svelte.vim b/syntax/svelte.vim index 2cd001d0..373d8ac5 100644 --- a/syntax/svelte.vim +++ b/syntax/svelte.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'svelte') == -1 + " Vim syntax file " Language: Svelte 3 (HTML/JavaScript) " Author: Evan Lecklider <evan@lecklider.com> @@ -59,4 +60,5 @@ highlight def link svelteKeyword Keyword highlight def link svelteRepeat Repeat let b:current_syntax = "svelte" + endif diff --git a/syntax/svg.vim b/syntax/svg.vim index e49abbd9..979d0a70 100644 --- a/syntax/svg.vim +++ b/syntax/svg.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'svg') == -1 + " Vim syntax file " Language: SVG " Filenames: *.svg @@ -144,4 +145,5 @@ if main_syntax == 'svg' endif " vim: ts=8 + endif diff --git a/syntax/swift.vim b/syntax/swift.vim index d7a734dc..5d68bc12 100644 --- a/syntax/swift.vim +++ b/syntax/swift.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1 + " File: swift.vim " Author: Keith Smiley " Description: Runtime files for Swift @@ -303,4 +304,5 @@ highlight default link swiftLineDirective PreProc syn sync minlines=100 let b:current_syntax = "swift" + endif diff --git a/syntax/sxhkdrc.vim b/syntax/sxhkdrc.vim index 0ed560a6..c44ab0c0 100644 --- a/syntax/sxhkdrc.vim +++ b/syntax/sxhkdrc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sxhkd') == -1 + if exists("b:current_syntax") finish endif @@ -25,4 +26,5 @@ hi def link sxHotkeySep Delimiter hi def link sxSequenceSep Delimiter let b:current_syntax = "sxhkdrc" + endif diff --git a/syntax/systemd.vim b/syntax/systemd.vim index fafb2ca3..dc83df11 100644 --- a/syntax/systemd.vim +++ b/syntax/systemd.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'systemd') == -1 + " Filename: systemd.vim " Purpose: Vim syntax file " Language: systemd unit files @@ -325,4 +326,5 @@ hi def link sdCapFlags Identifier let b:current_syntax = "systemd" " vim: fdm=marker + endif diff --git a/syntax/tablegen.vim b/syntax/tablegen.vim index 23c2ed30..c5136d03 100644 --- a/syntax/tablegen.vim +++ b/syntax/tablegen.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'llvm') == -1 + " Vim syntax file " Language: TableGen " Maintainer: The LLVM team, http://llvm.org/ @@ -53,4 +54,5 @@ if version >= 508 || !exists("did_c_syn_inits") endif let b:current_syntax = "tablegen" + endif diff --git a/syntax/tap.vim b/syntax/tap.vim index 7577df7e..6c7bed65 100644 --- a/syntax/tap.vim +++ b/syntax/tap.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim syntax file " Language: Verbose TAP Output " Maintainer: Rufus Cable <rufus@threebytesfull.com> @@ -96,4 +97,5 @@ if !exists("did_tapverboseoutput_syntax_inits") endif let b:current_syntax="tapVerboseOutput" + endif diff --git a/syntax/terraform.vim b/syntax/terraform.vim index 4789c9b2..204743d9 100644 --- a/syntax/terraform.vim +++ b/syntax/terraform.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1 + " Forked from Larry Gilbert's syntax file " github.com/L2G/vim-syntax-terraform @@ -4283,4 +4284,5 @@ hi def link terraCollectionType Type hi def link terraValueNull Constant let b:current_syntax = 'terraform' + endif diff --git a/syntax/textile.vim b/syntax/textile.vim index cbadce87..35126931 100644 --- a/syntax/textile.vim +++ b/syntax/textile.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'textile') == -1 + " " You will have to restart vim for this to take effect. In any case " it is a good idea to read ":he new-filetype" so that you know what @@ -90,4 +91,5 @@ if version >= 508 || !exists("did_txt_syn_inits") endif " vim: set ai et sw=4 : + endif diff --git a/syntax/thrift.vim b/syntax/thrift.vim index 148391ec..4dac50fa 100644 --- a/syntax/thrift.vim +++ b/syntax/thrift.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'thrift') == -1 + " Vim syntax file " Language: Thrift " Maintainer: Martin Smith <martin@facebook.com> @@ -97,4 +98,5 @@ endif let b:current_syntax = "thrift" + endif diff --git a/syntax/tmux.vim b/syntax/tmux.vim index 03d0115d..7e65662d 100644 --- a/syntax/tmux.vim +++ b/syntax/tmux.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1 + " Language: tmux(1) configuration file " Version: 2.9a (git-0d64531f) " URL: https://github.com/ericpruitt/tmux.vim/ @@ -113,4 +114,5 @@ syn keyword tmuxCommands let &cpo = s:original_cpo unlet! s:original_cpo s:bg s:i + endif diff --git a/syntax/tomdoc.vim b/syntax/tomdoc.vim index f08b407f..34f3e270 100644 --- a/syntax/tomdoc.vim +++ b/syntax/tomdoc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tomdoc') == -1 + syn keyword tomdocKeywords \ Returns Yields Raises Examples Signature \ containedin=.*Comment @@ -17,4 +18,5 @@ syn match tomdocArguments hi default link tomdocDescriptions String hi default link tomdocKeywords String hi default link tomdocArguments HELP + endif diff --git a/syntax/toml.vim b/syntax/toml.vim index 218d4fe6..76ba8bb5 100644 --- a/syntax/toml.vim +++ b/syntax/toml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'toml') == -1 + " Language: TOML " Maintainer: Caleb Spare <cespare@gmail.com> " URL: https://github.com/cespare/vim-toml @@ -75,4 +76,5 @@ hi def link tomlComment Comment syn sync minlines=500 let b:current_syntax = "toml" + endif diff --git a/syntax/tptp.vim b/syntax/tptp.vim index 0cd92fb8..f31b278d 100644 --- a/syntax/tptp.vim +++ b/syntax/tptp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tptp') == -1 + " Vim syntax file " Language: TPTP " Filename extensions: *.p (collides with Pascal/Progress), @@ -147,4 +148,5 @@ end let b:current_syntax = "tptp" " vim: ts=8 sw=8 + endif diff --git a/syntax/tsx.vim b/syntax/tsx.vim index 1be42093..a869ee2a 100644 --- a/syntax/tsx.vim +++ b/syntax/tsx.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + if !exists("main_syntax") if exists("b:current_syntax") && b:current_syntax != 'typescript' finish @@ -139,4 +140,5 @@ let b:current_syntax = "typescript.tsx" if main_syntax == 'typescript.tsx' unlet main_syntax endif + endif diff --git a/syntax/tt2.vim b/syntax/tt2.vim index 31bc61f5..426d32a3 100644 --- a/syntax/tt2.vim +++ b/syntax/tt2.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Language: TT2 (Perl Template Toolkit) " Maintainer: vim-perl <vim-perl@googlegroups.com> " Author: Moriki, Atsushi <4woods+vim@gmail.com> @@ -209,4 +210,5 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim:ts=4:sw=4 + endif diff --git a/syntax/tt2html.vim b/syntax/tt2html.vim index b48bed29..728819a5 100644 --- a/syntax/tt2html.vim +++ b/syntax/tt2html.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Language: TT2 embedded with HTML " Maintainer: vim-perl <vim-perl@googlegroups.com> " Author: Moriki, Atsushi <4woods+vim@gmail.com> @@ -19,4 +20,5 @@ unlet b:current_syntax syn cluster htmlPreProc add=@tt2_top_cluster let b:current_syntax = "tt2html" + endif diff --git a/syntax/tt2js.vim b/syntax/tt2js.vim index be93d2c6..d576ac05 100644 --- a/syntax/tt2js.vim +++ b/syntax/tt2js.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Language: TT2 embedded with Javascript " Maintainer: Andy Lester <andy@petdance.com> " Author: Yates, Peter <pd.yates@gmail.com> @@ -19,4 +20,5 @@ unlet b:current_syntax syn cluster javascriptPreProc add=@tt2_top_cluster let b:current_syntax = "tt2js" + endif diff --git a/syntax/twig.vim b/syntax/twig.vim index 1cc89f76..e3e67b5d 100644 --- a/syntax/twig.vim +++ b/syntax/twig.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'twig') == -1 + " Vim syntax file " Language: Twig template " Maintainer: Gabriel Gosselin <gabrielNOSPAM@evidens.ca> @@ -113,4 +114,5 @@ if version >= 508 || !exists("did_twig_syn_inits") delcommand HiLink endif + endif diff --git a/syntax/typescript.vim b/syntax/typescript.vim index 048a423a..8a56e183 100644 --- a/syntax/typescript.vim +++ b/syntax/typescript.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + " Vim syntax file " Language: TypeScript " Maintainer: Herrington Darkholme @@ -31,4 +32,5 @@ let b:current_syntax = "typescript" if main_syntax == 'typescript' unlet main_syntax endif + endif diff --git a/syntax/vala.vim b/syntax/vala.vim index 0208d824..8ad21785 100644 --- a/syntax/vala.vim +++ b/syntax/vala.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vala') == -1 + " Vim syntax file " Language: Vala " Maintainers: Emmanuele Bassi <ebassi@gnome.org> @@ -225,4 +226,5 @@ let &cpo = s:vala_cpo_save unlet s:vala_cpo_save " vim: ts=8 + endif diff --git a/syntax/vbnet.vim b/syntax/vbnet.vim index 32e20263..0550ca03 100644 --- a/syntax/vbnet.vim +++ b/syntax/vbnet.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vbnet') == -1 + " Vim syntax file " Language: VB.NET " Maintainer: Tim Pope <vim@rebelongto.us> @@ -430,4 +431,5 @@ endif let b:current_syntax = "vbnet" " vim:set ft=vim sts=4 sw=4: + endif diff --git a/syntax/vcl.vim b/syntax/vcl.vim index 476e4dda..e315fbf1 100644 --- a/syntax/vcl.vim +++ b/syntax/vcl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vcl') == -1 + " Vim syntax file " Filename: vcl.vim " Language: Varnish configuation Language, http://www.varnish-cache.org/wiki/VCL @@ -105,4 +106,5 @@ hi link vclModes Operator hi link vclOption Identifier hi link vclNumber Number hi link vclNumberTime Number + endif diff --git a/syntax/velocity.vim b/syntax/velocity.vim index 0bd11cd9..ee6200fa 100644 --- a/syntax/velocity.vim +++ b/syntax/velocity.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vm') == -1 + " Vim syntax file " Language: Velocity HTML template " Maintainer: Hsiaoming Young <http://lepture.com> @@ -66,4 +67,5 @@ if version >= 508 || !exists("did_velocity_syn_inits") endif let b:current_syntax = "velocity" + endif diff --git a/syntax/vifm.vim b/syntax/vifm.vim index 538d0576..68a20164 100644 --- a/syntax/vifm.vim +++ b/syntax/vifm.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1 + " vifm syntax file " Maintainer: xaizek <xaizek@posteo.net> " Last Change: July 12, 2019 @@ -480,4 +481,5 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : + endif diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim index b1a432fc..f33b5b1b 100644 --- a/syntax/vimgo.vim +++ b/syntax/vimgo.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 + if exists("b:current_syntax") finish endif @@ -12,4 +13,5 @@ hi def link goInterface Type hi def link goTitle Label " vim: sw=2 ts=2 et + endif diff --git a/syntax/vue.vim b/syntax/vue.vim index 79b3f792..1e039a5f 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1 + " Vim syntax file " Language: Vue.js " Maintainer: Eduardo San Martin Morote @@ -77,4 +78,5 @@ syn match htmlArg "[@v:][-:.0-9_a-z]*\>" contained syntax sync fromstart let b:current_syntax = "vue" + endif diff --git a/syntax/xdc.vim b/syntax/xdc.vim index 6cf07443..4d583cd5 100644 --- a/syntax/xdc.vim +++ b/syntax/xdc.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xdc') == -1 + " Vim syntax file " Language: XDC - Xilinx Design Constraints " Author: Amal Khailtash <amal.khailtash@gmail.com> @@ -192,4 +193,5 @@ highligh default link xdcFlags Special let b:current_syntax = "xdc" " vim: fileformat=unix tabstop=2 shiftwidth=2 expandtab + endif diff --git a/syntax/xml.vim b/syntax/xml.vim index 164b91de..7b1e6ce7 100644 --- a/syntax/xml.vim +++ b/syntax/xml.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xml') == -1 + " Vim syntax file " Language: XML " Maintainer: Amadeus Demarzi http://github.com/amadeus @@ -347,4 +348,5 @@ let &cpo = s:xml_cpo_save unlet s:xml_cpo_save " vim: ts=8 + endif diff --git a/syntax/xs.vim b/syntax/xs.vim index 1e72eb5b..da78f6b4 100644 --- a/syntax/xs.vim +++ b/syntax/xs.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1 + " Vim syntax file " Language: XS (Perl extension interface language) " Author: Autogenerated from perl headers, on an original basis of Michael W. Dodge <sarge@pobox.com> @@ -3676,4 +3677,5 @@ hi def link xsMacro Macro let b:current_syntax = "xs" " vim: ts=8 + endif diff --git a/syntax/xsl.vim b/syntax/xsl.vim index 802abe20..af423444 100644 --- a/syntax/xsl.vim +++ b/syntax/xsl.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xls') == -1 + " Vim syntax file " Language: XSLT 1.0 " with HTML, CSS, JavaScript, PerlScript, VBScript and MSXSL extention @@ -536,4 +537,5 @@ let b:current_syntax = "xsl" "unlet s:xml_cpo_save " vim: ts=4:sw=4 + endif diff --git a/syntax/yats.vim b/syntax/yats.vim index c68daa9f..bb98581e 100644 --- a/syntax/yats.vim +++ b/syntax/yats.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + runtime syntax/yats/typescript.vim runtime syntax/yats/es6-number.vim runtime syntax/yats/es6-string.vim @@ -45,4 +46,5 @@ runtime syntax/yats/css.vim let typescript_props = 1 runtime syntax/yats/event.vim + endif diff --git a/syntax/yats/css.vim b/syntax/yats/css.vim index d25f2a9d..219fc93f 100644 --- a/syntax/yats/css.vim +++ b/syntax/yats/css.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMStyle contained alignContent alignItems alignSelf animation syntax keyword typescriptDOMStyle contained animationDelay animationDirection animationDuration syntax keyword typescriptDOMStyle contained animationFillMode animationIterationCount @@ -70,4 +71,5 @@ syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBrea syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex if exists("did_typescript_hilink") | HiLink typescriptDOMStyle Keyword endif + endif diff --git a/syntax/yats/dom-document.vim b/syntax/yats/dom-document.vim index 4a893d50..2dfea5ec 100644 --- a/syntax/yats/dom-document.vim +++ b/syntax/yats/dom-document.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMDocProp contained activeElement body cookie defaultView syntax keyword typescriptDOMDocProp contained designMode dir domain embeds forms head syntax keyword typescriptDOMDocProp contained images lastModified links location plugins @@ -31,4 +32,5 @@ syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln n syntax cluster props add=typescriptDOMDocMethod if exists("did_typescript_hilink") | HiLink typescriptDOMDocMethod Keyword endif + endif diff --git a/syntax/yats/dom-elem.vim b/syntax/yats/dom-elem.vim index 1309cedf..0680b7a7 100644 --- a/syntax/yats/dom-elem.vim +++ b/syntax/yats/dom-elem.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft syntax keyword typescriptDOMElemAttrs contained clientTop clientWidth id innerHTML syntax keyword typescriptDOMElemAttrs contained length onafterscriptexecute onbeforescriptexecute @@ -22,4 +23,5 @@ syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture su syntax keyword typescriptDOMElemFuncs contained getAttribute if exists("did_typescript_hilink") | HiLink typescriptDOMElemFuncs Keyword endif + endif diff --git a/syntax/yats/dom-event.vim b/syntax/yats/dom-event.vim index a31be737..f13af726 100644 --- a/syntax/yats/dom-event.vim +++ b/syntax/yats/dom-event.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg syntax cluster props add=typescriptDOMEventTargetMethod @@ -62,4 +63,5 @@ syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith de syntax cluster props add=typescriptDOMEventMethod if exists("did_typescript_hilink") | HiLink typescriptDOMEventMethod Keyword endif + endif diff --git a/syntax/yats/dom-form.vim b/syntax/yats/dom-form.vim index 5c800f4a..222b3e15 100644 --- a/syntax/yats/dom-form.vim +++ b/syntax/yats/dom-form.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding syntax keyword typescriptDOMFormProp contained enctype length method name target syntax cluster props add=typescriptDOMFormProp @@ -8,4 +9,5 @@ syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nex syntax cluster props add=typescriptDOMFormMethod if exists("did_typescript_hilink") | HiLink typescriptDOMFormMethod Keyword endif + endif diff --git a/syntax/yats/dom-node.vim b/syntax/yats/dom-node.vim index 87166905..d55e82e1 100644 --- a/syntax/yats/dom-node.vim +++ b/syntax/yats/dom-node.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes syntax keyword typescriptDOMNodeProp contained firstChild lastChild localName namespaceURI syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipal @@ -24,4 +25,5 @@ syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUME syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE if exists("did_typescript_hilink") | HiLink typescriptDOMNodeType Keyword endif + endif diff --git a/syntax/yats/dom-storage.vim b/syntax/yats/dom-storage.vim index 45a88bcb..21564a21 100644 --- a/syntax/yats/dom-storage.vim +++ b/syntax/yats/dom-storage.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptDOMStorage contained sessionStorage localStorage if exists("did_typescript_hilink") | HiLink typescriptDOMStorage Keyword endif @@ -11,4 +12,5 @@ syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFu syntax cluster props add=typescriptDOMStorageMethod if exists("did_typescript_hilink") | HiLink typescriptDOMStorageMethod Keyword endif + endif diff --git a/syntax/yats/ecma-402.vim b/syntax/yats/ecma-402.vim index cbfd62b8..2114485c 100644 --- a/syntax/yats/ecma-402.vim +++ b/syntax/yats/ecma-402.vim @@ -1,8 +1,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl syntax keyword typescriptIntlMethod contained Collator DateTimeFormat NumberFormat nextgroup=typescriptFuncCallArg syntax keyword typescriptIntlMethod contained PluralRules nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptIntlMethod if exists("did_typescript_hilink") | HiLink typescriptIntlMethod Keyword endif + endif diff --git a/syntax/yats/es6-array.vim b/syntax/yats/es6-array.vim index c246f686..cc6ba71f 100644 --- a/syntax/yats/es6-array.vim +++ b/syntax/yats/es6-array.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg @@ -13,4 +14,5 @@ syntax keyword typescriptArrayMethod contained toSource toString unshift nextgro syntax cluster props add=typescriptArrayMethod if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword endif + endif diff --git a/syntax/yats/es6-date.vim b/syntax/yats/es6-date.vim index dc8591c3..ea2653cd 100644 --- a/syntax/yats/es6-date.vim +++ b/syntax/yats/es6-date.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg syntax match typescriptGlobalDateDot /\./ contained nextgroup=typescriptDateStaticMethod,typescriptProp syntax keyword typescriptDateStaticMethod contained UTC now parse nextgroup=typescriptFuncCallArg @@ -21,4 +22,5 @@ syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCa syntax cluster props add=typescriptDateMethod if exists("did_typescript_hilink") | HiLink typescriptDateMethod Keyword endif + endif diff --git a/syntax/yats/es6-function.vim b/syntax/yats/es6-function.vim index e0768fff..0ff39379 100644 --- a/syntax/yats/es6-function.vim +++ b/syntax/yats/es6-function.vim @@ -1,7 +1,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptFunctionMethod if exists("did_typescript_hilink") | HiLink typescriptFunctionMethod Keyword endif + endif diff --git a/syntax/yats/es6-json.vim b/syntax/yats/es6-json.vim index 0d3bec6a..682e8f06 100644 --- a/syntax/yats/es6-json.vim +++ b/syntax/yats/es6-json.vim @@ -1,7 +1,9 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg syntax match typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg if exists("did_typescript_hilink") | HiLink typescriptJSONStaticMethod Keyword endif + endif diff --git a/syntax/yats/es6-map.vim b/syntax/yats/es6-map.vim index c8d837e3..247d1112 100644 --- a/syntax/yats/es6-map.vim +++ b/syntax/yats/es6-map.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap syntax keyword typescriptES6MapProp contained size syntax cluster props add=typescriptES6MapProp @@ -9,4 +10,5 @@ syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typesc syntax cluster props add=typescriptES6MapMethod if exists("did_typescript_hilink") | HiLink typescriptES6MapMethod Keyword endif + endif diff --git a/syntax/yats/es6-math.vim b/syntax/yats/es6-math.vim index e0396df0..03460ec1 100644 --- a/syntax/yats/es6-math.vim +++ b/syntax/yats/es6-math.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2 @@ -13,4 +14,5 @@ syntax keyword typescriptMathStaticMethod contained min pow random round sign si syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg if exists("did_typescript_hilink") | HiLink typescriptMathStaticMethod Keyword endif + endif diff --git a/syntax/yats/es6-number.vim b/syntax/yats/es6-number.vim index b1399085..109e29d3 100644 --- a/syntax/yats/es6-number.vim +++ b/syntax/yats/es6-number.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Number nextgroup=typescriptGlobalNumberDot,typescriptFuncCallArg syntax match typescriptGlobalNumberDot /\./ contained nextgroup=typescriptNumberStaticProp,typescriptNumberStaticMethod,typescriptProp syntax keyword typescriptNumberStaticProp contained EPSILON MAX_SAFE_INTEGER MAX_VALUE @@ -15,4 +16,5 @@ syntax keyword typescriptNumberMethod contained toPrecision toSource toString va syntax cluster props add=typescriptNumberMethod if exists("did_typescript_hilink") | HiLink typescriptNumberMethod Keyword endif + endif diff --git a/syntax/yats/es6-object.vim b/syntax/yats/es6-object.vim index c70d1a86..3043542d 100644 --- a/syntax/yats/es6-object.vim +++ b/syntax/yats/es6-object.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg syntax match typescriptGlobalObjectDot /\./ contained nextgroup=typescriptObjectStaticMethod,typescriptProp syntax keyword typescriptObjectStaticMethod contained create defineProperties defineProperty nextgroup=typescriptFuncCallArg @@ -16,4 +17,5 @@ syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescr syntax cluster props add=typescriptObjectMethod if exists("did_typescript_hilink") | HiLink typescriptObjectMethod Keyword endif + endif diff --git a/syntax/yats/es6-promise.vim b/syntax/yats/es6-promise.vim index 8c6f8965..46851ed9 100644 --- a/syntax/yats/es6-promise.vim +++ b/syntax/yats/es6-promise.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp syntax keyword typescriptPromiseStaticMethod contained resolve reject all race nextgroup=typescriptFuncCallArg @@ -8,4 +9,5 @@ syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=ty syntax cluster props add=typescriptPromiseMethod if exists("did_typescript_hilink") | HiLink typescriptPromiseMethod Keyword endif + endif diff --git a/syntax/yats/es6-proxy.vim b/syntax/yats/es6-proxy.vim index e6f28aa1..9bbd9b66 100644 --- a/syntax/yats/es6-proxy.vim +++ b/syntax/yats/es6-proxy.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Proxy syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPropertyNames syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal @@ -6,4 +7,5 @@ syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct if exists("did_typescript_hilink") | HiLink typescriptProxyAPI Keyword endif + endif diff --git a/syntax/yats/es6-reflect.vim b/syntax/yats/es6-reflect.vim index acf4cef2..2f3f6ead 100644 --- a/syntax/yats/es6-reflect.vim +++ b/syntax/yats/es6-reflect.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect syntax keyword typescriptReflectMethod contained apply construct defineProperty deleteProperty nextgroup=typescriptFuncCallArg syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDescriptor nextgroup=typescriptFuncCallArg @@ -7,4 +8,5 @@ syntax keyword typescriptReflectMethod contained preventExtensions set setProtot syntax cluster props add=typescriptReflectMethod if exists("did_typescript_hilink") | HiLink typescriptReflectMethod Keyword endif + endif diff --git a/syntax/yats/es6-regexp.vim b/syntax/yats/es6-regexp.vim index 7b1a00f8..9a16ba82 100644 --- a/syntax/yats/es6-regexp.vim +++ b/syntax/yats/es6-regexp.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp syntax keyword typescriptRegExpStaticProp contained lastIndex @@ -12,4 +13,5 @@ syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFu syntax cluster props add=typescriptRegExpMethod if exists("did_typescript_hilink") | HiLink typescriptRegExpMethod Keyword endif + endif diff --git a/syntax/yats/es6-set.vim b/syntax/yats/es6-set.vim index f4ca3cd5..56048f3e 100644 --- a/syntax/yats/es6-set.vim +++ b/syntax/yats/es6-set.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet syntax keyword typescriptES6SetProp contained size syntax cluster props add=typescriptES6SetProp @@ -9,4 +10,5 @@ syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncC syntax cluster props add=typescriptES6SetMethod if exists("did_typescript_hilink") | HiLink typescriptES6SetMethod Keyword endif + endif diff --git a/syntax/yats/es6-string.vim b/syntax/yats/es6-string.vim index 4e63d164..d7275a1d 100644 --- a/syntax/yats/es6-string.vim +++ b/syntax/yats/es6-string.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg @@ -15,4 +16,5 @@ syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFunc syntax cluster props add=typescriptStringMethod if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword endif + endif diff --git a/syntax/yats/es6-symbol.vim b/syntax/yats/es6-symbol.vim index 17318319..51b2621e 100644 --- a/syntax/yats/es6-symbol.vim +++ b/syntax/yats/es6-symbol.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg syntax match typescriptGlobalSymbolDot /\./ contained nextgroup=typescriptSymbolStaticProp,typescriptSymbolStaticMethod,typescriptProp syntax keyword typescriptSymbolStaticProp contained length iterator match replace @@ -10,4 +11,5 @@ endif syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticMethod Keyword endif + endif diff --git a/syntax/yats/event.vim b/syntax/yats/event.vim index 6c196719..36a22683 100644 --- a/syntax/yats/event.vim +++ b/syntax/yats/event.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptAnimationEvent contained animationend animationiteration syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent syntax keyword typescriptAnimationEvent contained repeatEvent @@ -158,4 +159,5 @@ syntax keyword typescriptServiceWorkerEvent contained install activate fetch syntax cluster events add=typescriptServiceWorkerEvent if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerEvent Title endif + endif diff --git a/syntax/yats/node.vim b/syntax/yats/node.vim index 0b9965f9..25b4e26f 100644 --- a/syntax/yats/node.vim +++ b/syntax/yats/node.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName global process syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName console Buffer syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName module exports @@ -8,4 +9,5 @@ syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInte syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval if exists("did_typescript_hilink") | HiLink typescriptNodeGlobal Structure endif + endif diff --git a/syntax/yats/test.vim b/syntax/yats/test.vim index 7e050a53..7a68aa7f 100644 --- a/syntax/yats/test.vim +++ b/syntax/yats/test.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach @@ -6,4 +7,5 @@ syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEa syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert + endif diff --git a/syntax/yats/typescript.vim b/syntax/yats/typescript.vim index 420b1499..df99073e 100644 --- a/syntax/yats/typescript.vim +++ b/syntax/yats/typescript.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError @@ -30,4 +31,5 @@ syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encod syntax cluster props add=typescriptGlobalMethod if exists("did_typescript_hilink") | HiLink typescriptGlobalMethod Structure endif + endif diff --git a/syntax/yats/web-blob.vim b/syntax/yats/web-blob.vim index 03b644be..7badb6da 100644 --- a/syntax/yats/web-blob.vim +++ b/syntax/yats/web-blob.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder syntax keyword typescriptGlobal containedin=typescriptIdentifierName File FileReader syntax keyword typescriptGlobal containedin=typescriptIdentifierName FileReaderSync @@ -36,4 +37,5 @@ endif syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg if exists("did_typescript_hilink") | HiLink typescriptURLStaticMethod Keyword endif + endif diff --git a/syntax/yats/web-console.vim b/syntax/yats/web-console.vim index b3294058..f3e7c73a 100644 --- a/syntax/yats/web-console.vim +++ b/syntax/yats/web-console.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName console syntax keyword typescriptConsoleMethod contained count dir error group groupCollapsed nextgroup=typescriptFuncCallArg syntax keyword typescriptConsoleMethod contained groupEnd info log time timeEnd trace nextgroup=typescriptFuncCallArg @@ -6,4 +7,5 @@ syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCa syntax cluster props add=typescriptConsoleMethod if exists("did_typescript_hilink") | HiLink typescriptConsoleMethod Keyword endif + endif diff --git a/syntax/yats/web-crypto.vim b/syntax/yats/web-crypto.vim index 61d9af30..4a9442c3 100644 --- a/syntax/yats/web-crypto.vim +++ b/syntax/yats/web-crypto.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto if exists("did_typescript_hilink") | HiLink typescriptCryptoGlobal Structure endif @@ -15,4 +16,5 @@ syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typesc syntax cluster props add=typescriptCryptoMethod if exists("did_typescript_hilink") | HiLink typescriptCryptoMethod Keyword endif + endif diff --git a/syntax/yats/web-encoding.vim b/syntax/yats/web-encoding.vim index d7081034..077eaf9e 100644 --- a/syntax/yats/web-encoding.vim +++ b/syntax/yats/web-encoding.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextDecoder if exists("did_typescript_hilink") | HiLink typescriptEncodingGlobal Structure @@ -11,4 +12,5 @@ syntax keyword typescriptEncodingMethod contained encode decode nextgroup=typesc syntax cluster props add=typescriptEncodingMethod if exists("did_typescript_hilink") | HiLink typescriptEncodingMethod Keyword endif + endif diff --git a/syntax/yats/web-fetch.vim b/syntax/yats/web-fetch.vim index 2e5c2370..9fd87e45 100644 --- a/syntax/yats/web-fetch.vim +++ b/syntax/yats/web-fetch.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Headers Request syntax keyword typescriptGlobal containedin=typescriptIdentifierName Response syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName fetch nextgroup=typescriptFuncCallArg @@ -27,4 +28,5 @@ syntax keyword typescriptResponseMethod contained clone nextgroup=typescriptFunc syntax cluster props add=typescriptResponseMethod if exists("did_typescript_hilink") | HiLink typescriptResponseMethod Keyword endif + endif diff --git a/syntax/yats/web-geo.vim b/syntax/yats/web-geo.vim index da386643..c439be29 100644 --- a/syntax/yats/web-geo.vim +++ b/syntax/yats/web-geo.vim @@ -1,8 +1,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName Geolocation syntax keyword typescriptGeolocationMethod contained getCurrentPosition watchPosition nextgroup=typescriptFuncCallArg syntax keyword typescriptGeolocationMethod contained clearWatch nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptGeolocationMethod if exists("did_typescript_hilink") | HiLink typescriptGeolocationMethod Keyword endif + endif diff --git a/syntax/yats/web-history.vim b/syntax/yats/web-history.vim index 42283af3..99cc5ccc 100644 --- a/syntax/yats/web-history.vim +++ b/syntax/yats/web-history.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptBOMHistoryProp contained length current next previous state syntax keyword typescriptBOMHistoryProp contained scrollRestoration syntax cluster props add=typescriptBOMHistoryProp @@ -8,4 +9,5 @@ syntax keyword typescriptBOMHistoryMethod contained back forward go pushState re syntax cluster props add=typescriptBOMHistoryMethod if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryMethod Keyword endif + endif diff --git a/syntax/yats/web-location.vim b/syntax/yats/web-location.vim index 29efd9cc..65f8869d 100644 --- a/syntax/yats/web-location.vim +++ b/syntax/yats/web-location.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptBOMLocationProp contained href protocol host hostname port syntax keyword typescriptBOMLocationProp contained pathname search hash username password syntax keyword typescriptBOMLocationProp contained origin @@ -9,4 +10,5 @@ syntax keyword typescriptBOMLocationMethod contained assign reload replace toStr syntax cluster props add=typescriptBOMLocationMethod if exists("did_typescript_hilink") | HiLink typescriptBOMLocationMethod Keyword endif + endif diff --git a/syntax/yats/web-navigator.vim b/syntax/yats/web-navigator.vim index db32a416..48fe9f7d 100644 --- a/syntax/yats/web-navigator.vim +++ b/syntax/yats/web-navigator.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled syntax keyword typescriptBOMNavigatorProp contained doNotTrack maxTouchPoints oscpu syntax keyword typescriptBOMNavigatorProp contained productSub push serviceWorker @@ -19,4 +20,5 @@ syntax keyword typescriptServiceWorkerMethod contained register nextgroup=typesc syntax cluster props add=typescriptServiceWorkerMethod if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerMethod Keyword endif + endif diff --git a/syntax/yats/web-network.vim b/syntax/yats/web-network.vim index f46efd09..d717da5c 100644 --- a/syntax/yats/web-network.vim +++ b/syntax/yats/web-network.vim @@ -1,8 +1,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName NetworkInformation syntax keyword typescriptBOMNetworkProp contained downlink downlinkMax effectiveType syntax keyword typescriptBOMNetworkProp contained rtt type syntax cluster props add=typescriptBOMNetworkProp if exists("did_typescript_hilink") | HiLink typescriptBOMNetworkProp Keyword endif + endif diff --git a/syntax/yats/web-payment.vim b/syntax/yats/web-payment.vim index e0479a53..74805967 100644 --- a/syntax/yats/web-payment.vim +++ b/syntax/yats/web-payment.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg syntax cluster props add=typescriptPaymentMethod @@ -32,4 +33,5 @@ syntax keyword typescriptPaymentShippingOptionProp contained id label amount sel syntax cluster props add=typescriptPaymentShippingOptionProp if exists("did_typescript_hilink") | HiLink typescriptPaymentShippingOptionProp Keyword endif + endif diff --git a/syntax/yats/web-service-worker.vim b/syntax/yats/web-service-worker.vim index dde90386..a44950fb 100644 --- a/syntax/yats/web-service-worker.vim +++ b/syntax/yats/web-service-worker.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptServiceWorkerProp contained controller ready syntax cluster props add=typescriptServiceWorkerProp if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerProp Keyword @@ -13,4 +14,5 @@ syntax keyword typescriptCacheMethod contained keys nextgroup=typescriptFuncCall syntax cluster props add=typescriptCacheMethod if exists("did_typescript_hilink") | HiLink typescriptCacheMethod Keyword endif + endif diff --git a/syntax/yats/web-window.vim b/syntax/yats/web-window.vim index a0109fcb..eb6257fb 100644 --- a/syntax/yats/web-window.vim +++ b/syntax/yats/web-window.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName closed syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName Components @@ -108,4 +109,5 @@ syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName Quer syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName XMLSerializer if exists("did_typescript_hilink") | HiLink typescriptBOMWindowCons Structure endif + endif diff --git a/syntax/yats/web-xhr.vim b/syntax/yats/web-xhr.vim index 6a6379f7..b8a8f56e 100644 --- a/syntax/yats/web-xhr.vim +++ b/syntax/yats/web-xhr.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest if exists("did_typescript_hilink") | HiLink typescriptXHRGlobal Structure endif @@ -13,4 +14,5 @@ syntax keyword typescriptXHRMethod contained open overrideMimeType send setReque syntax cluster props add=typescriptXHRMethod if exists("did_typescript_hilink") | HiLink typescriptXHRMethod Keyword endif + endif diff --git a/syntax/yats/web.vim b/syntax/yats/web.vim index ffef459d..37bf5559 100644 --- a/syntax/yats/web.vim +++ b/syntax/yats/web.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode syntax keyword typescriptBOM containedin=typescriptIdentifierName App Apps ArrayBuffer @@ -248,4 +249,5 @@ syntax keyword typescriptBOM containedin=typescriptIdentifierName XDomainRequest syntax keyword typescriptBOM containedin=typescriptIdentifierName XMLHttpRequestEventTarget if exists("did_typescript_hilink") | HiLink typescriptBOM Structure endif + endif diff --git a/syntax/zephir.vim b/syntax/zephir.vim index 053c9354..08125056 100644 --- a/syntax/zephir.vim +++ b/syntax/zephir.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zephir') == -1 + " Copyright 2009 The Go Authors. All rights reserved. if exists("b:current_syntax") finish @@ -132,4 +133,5 @@ syn sync minlines=500 let b:current_syntax = "zephir" syn match zepTypeHits "<\w+>" contained display + endif diff --git a/syntax/zig.vim b/syntax/zig.vim index e482b2e4..42a7e7e1 100644 --- a/syntax/zig.vim +++ b/syntax/zig.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1 + " Vim syntax file " Language: Zig " Maintainer: Andrew Kelley @@ -102,4 +103,5 @@ hi def link zigStructure Structure hi def link zigStatement Statement hi def link zigConditional Conditional hi def link zigRepeat Repeat + endif |