Allow for disabling individual languages, closes #66

This commit is contained in:
Adam Stankiewicz
2015-07-18 23:05:45 +02:00
parent f977779693
commit 92ab75408d
239 changed files with 1110 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
" Vim syntax file
" Language: Arduino
" Maintainer: Sudar <sudar@sudarmuthu.com>
@@ -164,3 +166,5 @@ hi def link arduinoType Type
hi def link arduinoConstant Constant
hi def link arduinoFunc Function
hi def link arduinoIdentifier Identifier
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
" Language: Blade
" Maintainer: Jason Walton <jwalton512@gmail.com>
" URL: https://github.com/xsbeats/vim-blade
@@ -39,3 +41,5 @@ hi def link bladeStructure Keyword
if !exists('b:current_syntax')
let b:current_syntax = 'blade'
endif
endif

View File

@@ -1,3 +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>
@@ -483,3 +485,5 @@ unlet s:ft
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
" Vim syntax file
" Language: Cabal
" Author: Tristan Ravitch
@@ -145,3 +147,5 @@ if version >= 508 || !exists('did_cabal_syntax_inits')
endif
let b:current_syntax = 'cabal'
endif

View File

@@ -1,3 +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>
@@ -214,3 +216,5 @@ highlight default link clojureParen Delimiter
let b:current_syntax = "clojure"
" vim:sts=8:sw=8:ts=8:noet
endif

View File

@@ -1,3 +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
@@ -219,3 +221,5 @@ syn cluster coffeeAll contains=coffeeStatement,coffeeRepeat,coffeeConditional,
if !exists('b:current_syntax')
let b:current_syntax = 'coffee'
endif
endif

View File

@@ -1,3 +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)
@@ -78,3 +80,5 @@ endif
let b:current_syntax = "cpp"
" vim: ts=8
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css') == -1
" Vim syntax file
" Language: Cascading Style Sheets
" Previous Contributor List:
@@ -669,3 +671,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
" Vim syntax file
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -140,3 +142,5 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:set sts=2 sw=2:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
" dockerfile.vim - Syntax highlighting for Dockerfiles
" Maintainer: Honza Pokorny <http://honza.ca>
" Version: 0.5
@@ -29,3 +31,5 @@ syntax region dockerShSnip matchgroup=DockerShGroup start="^\s*\%(RUN\|CMD\)\s\+
highlight link DockerShGroup dockerfileKeyword
let b:current_syntax = "dockerfile"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
" Vim syntax file
" Language: Embedded Elixir
" URL: https://github.com/elixir-lang/vim-elixir
@@ -64,3 +66,5 @@ if main_syntax == 'eelixir'
unlet main_syntax
endif
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
" Vim syntax file
" Language: Elixir
" Maintainer: Carlos Galdino <carloshsgaldino@gmail.com>
@@ -188,3 +190,5 @@ hi def link elixirStringDelimiter Delimiter
hi def link elixirRegexDelimiter Delimiter
hi def link elixirInterpolationDelimiter Delimiter
hi def link elixirSigilDelimiter Delimiter
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1
" Language: ember-script
" Maintainer: heartsentwined <heartsentwined@cogito-lab.com>
" URL: http://github.com/heartsentwined/vim-ember-script
@@ -29,3 +31,5 @@ syn match emEach /\v\@each/ display
hi def link emEach Special
let b:current_syntax = 'ember-script'
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1
" Language: emblem
" Maintainer: heartsentwined <heartsentwined@cogito-lab.com>
" URL: http://github.com/heartsentwined/vim-emblem
@@ -154,3 +156,5 @@ hi def link eblId Constant
hi def link eblClass Identifier
let b:current_syntax = 'emblem'
endif

View File

@@ -1,3 +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>
@@ -269,3 +271,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: sw=2 et
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
" Vim syntax file
" Language: eRuby
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -72,3 +74,5 @@ if main_syntax == 'eruby'
endif
" vim: nowrap sw=2 sts=2 ts=8:
endif

View File

@@ -1,3 +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>
@@ -76,3 +78,5 @@ hi def link gitDiffAdded diffAdded
hi def link gitDiffRemoved diffRemoved
let b:current_syntax = "git"
endif

View File

@@ -1,3 +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>
@@ -82,3 +84,5 @@ hi def link gitcommitArrow gitcommitComment
hi def link gitcommitBlank Error
let b:current_syntax = "gitcommit"
endif

View File

@@ -1,3 +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>
@@ -36,3 +38,5 @@ hi def link gitconfigEscape Delimiter
hi def link gitconfigError Error
let b:current_syntax = "gitconfig"
endif

View File

@@ -1,3 +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>
@@ -36,3 +38,5 @@ hi def link gitrebaseComment Comment
hi def link gitrebaseSquashError Error
let b:current_syntax = "gitrebase"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
" Vim syntax file
" Language: git send-email message
" Maintainer: Tim Pope
@@ -21,3 +23,5 @@ syn match gitsendemailComment "^GIT:.*"
hi def link gitsendemailComment Comment
let b:current_syntax = "gitsendemail"
endif

View File

@@ -1,3 +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.
@@ -295,3 +297,5 @@ hi def link goBuildDirective PreProc
syn sync minlines=500
let b:current_syntax = "go"
endif

View File

@@ -1,3 +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.
@@ -45,3 +47,5 @@ syn sync minlines=500
let b:current_syntax = "godoc"
" vim:ts=4 sts=2 sw=2:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
if exists("b:current_syntax")
finish
endif
@@ -13,3 +15,5 @@ unlet b:current_syntax
let b:current_syntax = "gohtmltmpl"
" vim:ts=4:sw=4:et
endif

View File

@@ -1,3 +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.
@@ -83,3 +85,5 @@ hi def link goTplComment Comment
let b:current_syntax = "gotexttmpl"
" vim:ts=4:sw=4:et
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim syntax file
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -107,3 +109,5 @@ if main_syntax == "haml"
endif
" vim:set sw=2:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
" Vim syntax file
" Language: Haskell
" Author: Tristan Ravitch
@@ -158,3 +160,5 @@ if version >= 508 || !exists('did_hs_syntax_inits')
endif
let b:current_syntax = "haskell"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haxe') == -1
" Vim syntax file
" Language: haxe
" Derived from:
@@ -425,3 +427,5 @@ if main_syntax == 'haxe'
unlet main_syntax
endif
let b:spell_options="contained"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim syntax file
" Language: HTML (version 5)
" Maintainer: Rodrigo Machado <rcmachado@gmail.com>
@@ -117,3 +119,5 @@ syn keyword htmlArg contained x x-height x1 x2 xChannelSelector xlink:actuate xl
syn keyword htmlArg contained y y1 y2 yChannelSelector
syn keyword htmlArg contained z zoomAndPan
syn keyword htmlArg contained alignment-baseline baseline-shift clip-path clip-rule clip color-interpolation-filters color-interpolation color-profile color-rendering color cursor direction display dominant-baseline enable-background fill-opacity fill-rule fill filter flood-color flood-opacity font-family font-size-adjust font-size font-stretch font-style font-variant font-weight glyph-orientation-horizontal glyph-orientation-vertical image-rendering kerning letter-spacing lighting-color marker-end marker-mid marker-start mask opacity overflow pointer-events shape-rendering stop-color stop-opacity stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width stroke text-anchor text-decoration text-rendering unicode-bidi visibility word-spacing writing-mode
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim syntax file
" Language: WAI-ARIA
" Maintainer: othree <othree@gmail.com>
@@ -60,3 +62,5 @@ syn match htmlArg contained "\<aria-\%(\|dropeffect\|grabbed\)\>"
syn match htmlArg contained "\<aria-\%(\|activedescendant\|controls\|describedby\|flowto\)\>"
syn match htmlArg contained "\<aria-\%(\|labelledby\|owns\|posinset\|setsize\)\>"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim syntax file
" Language: RDFa
" Maintainer: othree <othree@gmail.com>
@@ -9,3 +11,5 @@
" 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

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jade') == -1
" Vim syntax file
" Language: Jade
" Maintainer: Joshua Borton
@@ -100,3 +102,5 @@ let b:current_syntax = "jade"
if main_syntax == "jade"
unlet main_syntax
endif
endif

View File

@@ -1,3 +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
@@ -32,3 +34,5 @@ hi def link jasmineNot Special
hi def link jasmineMatcher Statement
hi def link jasmineSpy Special
hi def link jasmineSpyMatcher Statement
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
" Vim syntax file
" Language: JavaScript
" Maintainer: vim-javascript community
@@ -329,3 +331,5 @@ let b:current_syntax = "javascript"
if main_syntax == 'javascript'
unlet main_syntax
endif
endif

View File

@@ -1,3 +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>
@@ -41,3 +43,5 @@ syn keyword javascriptDomElemAttrs videoWidth videoHeight poster
" drag and drop
syn keyword javascriptDomElemAttrs onDragStart onDragEnd onDragEnter onDragLeave onDragOver onDrag onDrop draggable dropzone
endif

View File

@@ -1,3 +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
@@ -117,3 +119,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

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
if exists("b:current_syntax")
finish
endif
@@ -85,3 +87,5 @@ if exists("loaded_matchit")
endif
" vim: nowrap sw=2 sts=2 ts=8:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
if exists("b:current_syntax")
finish
@@ -147,3 +149,5 @@ syn region ragelLine start="%%" end="$" contains=@ragel
let b:current_syntax = "julia"
endif

View File

@@ -1,3 +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
@@ -7,3 +9,5 @@ highlight link helpText PreProc
highlight link secNum Number
highlight link mainSecLine Title
highlight link ssubSecLine Comment
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1
if exists("b:current_syntax")
finish
endif
@@ -62,3 +64,5 @@ hi def link lessNestedProperty Type
hi def link lessClass PreProc
let b:current_syntax = "less"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'liquid') == -1
" Vim syntax file
" Language: Liquid
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -136,3 +138,5 @@ let b:current_syntax = 'liquid'
if exists('main_syntax') && main_syntax == 'liquid'
unlet main_syntax
endif
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1
" Vim syntax file
" Language: Markdown
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -143,3 +145,5 @@ if main_syntax ==# 'markdown'
endif
" vim:set sw=2:
endif

View File

@@ -1,3 +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>
@@ -107,3 +109,5 @@ let b:current_syntax = "mason"
if main_syntax == 'mason'
unlet main_syntax
endif
endif

View File

@@ -1,3 +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>
@@ -87,3 +89,5 @@ syn region mustacheScriptTemplate start=+<script [^>]*type *=[^>]*text/\(mustach
let b:current_syntax = "mustache"
delcommand HtmlHiLink
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
" Vim syntax file
" Language: nginx.conf
@@ -662,3 +664,5 @@ hi link ngxDirective Identifier
hi link ngxDirectiveThirdParty Special
let b:current_syntax = "nginx"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
" Vim syntax file
" Language: OCaml
" Filenames: *.ml *.mli *.mll *.mly
@@ -329,3 +331,5 @@ endif
let b:current_syntax = "ocaml"
" vim: ts=8
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'octave') == -1
" Vim syntax file
" Language: Octave
" Maintainer: Rik <rik@nomad.inbox5.com>
@@ -612,3 +614,5 @@ endif
let b:current_syntax = "octave"
"EOF vim: ts=8 noet tw=100 sw=8 sts=0
endif

View File

@@ -1,3 +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)
@@ -155,3 +157,5 @@ hi def link clStatement Statement
let b:current_syntax = "opencl"
" vim: ts=8
endif

View File

@@ -1,3 +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>
@@ -584,3 +586,5 @@ unlet s:cpo_save
" XXX Change to sts=4:sw=4
" vim:ts=8:sts=2:sw=2:expandtab:ft=vim
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
" Vim syntax file
" Language: Perl 6
" Maintainer: vim-perl <vim-perl@googlegroups.com>
@@ -1959,3 +1961,5 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:ts=8:sts=4:sw=4:expandtab:ft=vim
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'php') == -1
" Vim syntax file
" Language: PHP 5.3 & up
"
@@ -844,3 +846,5 @@ endif
" }}}
" vim: ts=8 sts=2 sw=2 fdm=marker expandtab
endif

View File

@@ -1,3 +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>
@@ -187,3 +189,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: ts=8
endif

View File

@@ -1,3 +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/
@@ -103,3 +105,5 @@ if version >= 508 || !exists("did_proto_syn_inits")
endif
let b:current_syntax = "proto"
endif

View File

@@ -1,3 +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>
@@ -160,3 +162,5 @@ endif
let b:current_syntax = "ps1"
endif

View File

@@ -1,3 +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>
@@ -54,3 +56,5 @@ let b:current_syntax = "ps1xml"
let &cpo = s:ps1xml_cpo_save
unlet s:ps1xml_cpo_save
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
" puppet syntax file
" Filename: puppet.vim
" Language: puppet configuration file
@@ -164,3 +166,5 @@ if version >= 508 || !exists("did_puppet_syn_inits")
endif
let b:current_syntax = "puppet"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python') == -1
" Vim syntax file
"
" Based on python.vim (from Vim 6.1 distribution)
@@ -319,3 +321,5 @@ if version >= 508 || !exists("did_python_syn_inits")
endif
let b:current_syntax = "python"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ragel') == -1
" Vim syntax file
"
" Language: Ragel
@@ -162,3 +164,5 @@ hi link caseLabelKeyword Keyword
hi link beginRL Type
let b:current_syntax = "ragel"
endif

View File

@@ -1,3 +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>
@@ -153,3 +155,5 @@ endif
let b:current_syntax = "rhelp"
" vim: foldmethod=marker:
endif

View File

@@ -1,3 +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>
@@ -54,3 +56,5 @@ hi def link rnowebChunkReference Delimiter
let b:current_syntax = "rnoweb"
" vim: foldmethod=marker:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
" Vim syntax file
" Language: Ruby
" Maintainer: Doug Kearns <dougkearns@gmail.com>
@@ -390,3 +392,5 @@ hi def link rubySpaceError rubyError
let b:current_syntax = "ruby"
" vim: nowrap sw=2 sts=2 ts=8 noet:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" Vim syntax file
" Language: Rust
" Maintainer: Patrick Walton <pcwalton@mozilla.com>
@@ -260,3 +262,5 @@ syn sync minlines=200
syn sync maxlines=500
let b:current_syntax = "rust"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim syntax file
" Language: Sass
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -104,3 +106,5 @@ hi def link sassClass Type
let b:current_syntax = "sass"
" vim:set sw=2:
endif

View File

@@ -1,3 +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>
@@ -31,3 +33,5 @@ hi link sbtSpecial Special
hi link sbtComment Comment
hi link sbtLineComment Comment
hi link sbtDocComment Comment
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1
" Vim syntax file
" Language: Scala
" Maintainer: Derek Wyatt
@@ -221,3 +223,5 @@ if main_syntax ==# 'scala'
endif
" vim:set sw=2 sts=2 ts=8 et:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim syntax file
" Language: SCSS
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -18,3 +20,5 @@ hi def link scssComment sassComment
let b:current_syntax = "scss"
" vim:set sw=2:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'slim') == -1
" Vim syntax file
" Language: Slim
" Maintainer: Andrew Stone <andy@stonean.com>
@@ -100,3 +102,5 @@ hi def link slimWrappedAttrsDelimiter Delimiter
hi def link slimInlineTagChar Delimiter
let b:current_syntax = "slim"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'solidity') == -1
" Vim syntax file
" Language: Solidity
" Maintainer: Tomlion (qycpublic@gmail.com)
@@ -75,3 +77,5 @@ syn region solComment start="/\*" end="\*/" contains=solCommentTodo,
hi def link solCommentTodo Comment
hi def link solLineComment Comment
hi def link solComment Comment
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'stylus') == -1
" Vim syntax file
" Language: CSS3
" Maintainer: Hsiaoming Yang <lepture@me.com>
@@ -374,3 +376,5 @@ hi def link stylusIdChar Special
let b:current_syntax = "stylus"
" vim:set sw=2:
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1
" Language: Swift<https://developer.apple.com/swift/>
" Maintainer: toyama satoshi <toyamarinyon@gmail.com>
" URL: http://github.com/toyamarinyon/vim-swift
@@ -62,3 +64,5 @@ highlight default link swiftTypeIdentifier Type
if !exists('b:current_syntax')
let b:current_syntax = 'swift'
endif
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'systemd') == -1
" Filename: systemd.vim
" Purpose: Vim syntax file
" Language: systemd unit files
@@ -275,3 +277,5 @@ hi def link sdCapFlags Identifier
let b:current_syntax = "systemd"
" vim: fdm=marker
endif

View File

@@ -1,3 +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>
@@ -95,3 +97,5 @@ if !exists("did_tapverboseoutput_syntax_inits")
endif
let b:current_syntax="tapVerboseOutput"
endif

View File

@@ -1,3 +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
@@ -89,3 +91,5 @@ if version >= 508 || !exists("did_txt_syn_inits")
endif
" vim: set ai et sw=4 :
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'thrift') == -1
" Vim syntax file
" Language: Thrift
" Maintainer: Martin Smith <martin@facebook.com>
@@ -96,3 +98,5 @@ endif
let b:current_syntax = "thrift"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
" Vim syntax file
" Language: tmux(1) configuration file
" Maintainer: Tiago Cunha <tcunha@users.sourceforge.net>
@@ -287,3 +289,5 @@ hi def link tmuxVariable Constant
hi def link tmuxVariableExpansion Constant
let b:current_syntax = "tmux"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tomdoc') == -1
syn keyword tomdocKeywords
\ Returns Yields Raises Examples Signature
\ containedin=.*Comment
@@ -16,3 +18,5 @@ syn match tomdocArguments
hi default link tomdocDescriptions String
hi default link tomdocKeywords String
hi default link tomdocArguments HELP
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'toml') == -1
" Language: TOML
" Maintainer: Caleb Spare <cespare@gmail.com>
" URL: http://github.com/cespare/vim-toml
@@ -51,3 +53,5 @@ syn match tomlComment /#.*/ contains=@Spell,tomlTodo
hi def link tomlComment Comment
let b:current_syntax = "toml"
endif

View File

@@ -1,3 +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>
@@ -208,3 +210,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:ts=4:sw=4
endif

View File

@@ -1,3 +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>
@@ -18,3 +20,5 @@ unlet b:current_syntax
syn cluster htmlPreProc add=@tt2_top_cluster
let b:current_syntax = "tt2html"
endif

View File

@@ -1,3 +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>
@@ -18,3 +20,5 @@ unlet b:current_syntax
syn cluster javascriptPreProc add=@tt2_top_cluster
let b:current_syntax = "tt2js"
endif

View File

@@ -1,3 +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>
@@ -107,3 +109,5 @@ endif
let b:current_syntax = "twig"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
" Vim syntax file
" Language: typescript
" Author: MicroSoft Open Technologies Inc.
@@ -326,3 +328,5 @@ if main_syntax == 'typescript'
endif
" vim: ts=4
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vala') == -1
" Vim syntax file
" Language: Vala
" Maintainers: Emmanuele Bassi <ebassi@gnome.org>
@@ -198,3 +200,5 @@ let &cpo = s:vala_cpo_save
unlet s:vala_cpo_save
" vim: ts=8
endif

View File

@@ -1,3 +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>
@@ -429,3 +431,5 @@ endif
let b:current_syntax = "vbnet"
" vim:set ft=vim sts=4 sw=4:
endif

View File

@@ -1,3 +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>
@@ -65,3 +67,5 @@ if version >= 508 || !exists("did_velocity_syn_inits")
endif
let b:current_syntax = "velocity"
endif

View File

@@ -1,3 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
if exists("b:current_syntax")
finish
endif
@@ -9,3 +11,5 @@ syn region goTitle start="\%1l" end=":"
hi def link goInterface Type
hi def link goTitle Label
endif

View File

@@ -1,3 +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>
@@ -3276,3 +3278,5 @@ endif
let b:current_syntax = "xs"
" vim: ts=8
endif

View File

@@ -1,3 +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
@@ -535,3 +537,5 @@ let b:current_syntax = "xsl"
"unlet s:xml_cpo_save
" vim: ts=4:sw=4
endif