mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-15 06:53:50 -05:00
Change plugin guard for disabling, fixes #371
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jenkins') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jenkins') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime syntax/groovy.vim
|
||||
syn keyword jenkinsfileBuiltInVariable currentBuild
|
||||
|
||||
@@ -126,5 +128,3 @@ hi link jenkinsFileDockerKeyword jenkinsfilePipelineStep
|
||||
let b:current_syntax = 'Jenkinsfile'
|
||||
|
||||
" vim:set et sw=0 ts=2 ft=vim tw=78:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Ansible YAML/Jinja templates
|
||||
" Maintainer: Dave Honneffer <pearofducks@gmail.com>
|
||||
@@ -104,5 +106,3 @@ else
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ansible"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Ansible hosts files
|
||||
" Maintainer: Dave Honneffer <pearofducks@gmail.com>
|
||||
@@ -31,5 +33,3 @@ if exists("g:ansible_attribute_highlight")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ansible_hosts"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'apiblueprint') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! syntax/markdown.vim
|
||||
unlet! b:current_syntax
|
||||
|
||||
@@ -34,5 +36,3 @@ highlight default link apibActionRelationKey Identifier
|
||||
|
||||
let b:current_syntax = 'apiblueprint'
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'applescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AppleScript
|
||||
" Maintainer: Jim Eberle <jim.eberle@fastnlight.com>
|
||||
@@ -245,5 +247,3 @@ hi def link scptTodo Todo
|
||||
|
||||
let b:current_syntax = "applescript"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'arduino') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Arduino
|
||||
" Maintainer: Sudar <sudar@sudarmuthu.com>
|
||||
@@ -166,5 +168,3 @@ hi def link arduinoType Type
|
||||
hi def link arduinoConstant Constant
|
||||
hi def link arduinoFunc Function
|
||||
hi def link arduinoIdentifier Identifier
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asciidoc') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'asciidoc') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: AsciiDoc
|
||||
" Author: Stuart Rackham <srackham@gmail.com> (inspired by Felix
|
||||
@@ -183,5 +185,3 @@ hi def link asciidocURL Macro
|
||||
let b:current_syntax = "asciidoc"
|
||||
|
||||
" vim: wrap et sw=2 sts=2:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'blade') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Blade (Laravel)
|
||||
" Maintainer: Jason Walton <jwalton512@gmail.com>
|
||||
@@ -72,5 +74,3 @@ let b:current_syntax = 'blade'
|
||||
if exists('main_syntax') && main_syntax == 'blade'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'c/c++') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: C
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
@@ -489,5 +491,3 @@ unlet s:ft
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haskell') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" syntax highlighting for cabal
|
||||
"
|
||||
" author: raichoo (raichoo@googlemail.com)
|
||||
@@ -51,5 +53,3 @@ highlight def link cabalDocNewline Operator
|
||||
highlight def link cabalDocCode Macro
|
||||
|
||||
let b:current_syntax = "cabal"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'caddyfile') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'caddyfile') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: Caddyfile
|
||||
" Author: Josh Glendenning <josh@isobit.io>
|
||||
|
||||
@@ -29,5 +31,3 @@ hi link caddyString String
|
||||
hi link caddyComment Comment
|
||||
|
||||
let b:current_syntax = "caddyfile"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'carp') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'carp') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Carp
|
||||
" Maintainer: Veit Heller <veit@veitheller.de>
|
||||
@@ -143,5 +145,3 @@ if version >= 508 || !exists("carp_syntax_init")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "carp"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'clojure') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Clojure
|
||||
" Authors: Toralf Wittner <toralf.wittner@gmail.com>
|
||||
@@ -223,5 +225,3 @@ let &cpo = s:cpo_sav
|
||||
unlet! s:cpo_sav
|
||||
|
||||
" vim:sts=8:sw=8:ts=8:noet
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmake') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cmake') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Program: CMake - Cross-Platform Makefile Generator
|
||||
" Version: cmake version 3.13.20181220-g0495c
|
||||
@@ -3283,5 +3285,3 @@ let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
" vim: set nowrap:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: CoffeeScript
|
||||
" Maintainer: Mick Koch <mick@kochm.co>
|
||||
" URL: http://github.com/kchmck/vim-coffee-script
|
||||
@@ -221,5 +223,3 @@ syn cluster coffeeAll contains=coffeeStatement,coffeeRepeat,coffeeConditional,
|
||||
if !exists('b:current_syntax')
|
||||
let b:current_syntax = 'coffee'
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'c/c++') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'c/c++') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: C++
|
||||
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
|
||||
@@ -76,5 +78,3 @@ hi def link cppNumber Number
|
||||
let b:current_syntax = "cpp"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cql') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: cql
|
||||
" Maintainer: Eric Lubow <eric@lubow.org
|
||||
@@ -131,5 +133,3 @@ endif
|
||||
|
||||
let b:current_syntax = "cql"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cryptol') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Cryptol
|
||||
" Maintainer: Fergus Henderson
|
||||
@@ -113,5 +115,3 @@ endif
|
||||
let b:current_syntax = "cryptol"
|
||||
|
||||
" Options for vi: ts=8 sw=2 sts=2 nowrap noexpandtab ft=vim
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: Crystal
|
||||
" Based on Ruby syntax highlight
|
||||
" which was made by Mirko Nasato and Doug Kearns
|
||||
@@ -399,5 +401,3 @@ hi def link crystalSpaceError crystalError
|
||||
let b:current_syntax = 'crystal'
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8 noet:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cucumber') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Cucumber
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -142,5 +144,3 @@ let &cpo = s:keepcpo
|
||||
unlet s:keepcpo
|
||||
|
||||
" vim:set sts=2 sw=2:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dart') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" 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
|
||||
@@ -135,5 +137,3 @@ let b:spell_options = "contained"
|
||||
if g:main_syntax is# 'dart'
|
||||
unlet g:main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dockerfile') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Dockerfile
|
||||
" Maintainer: Eugene Kalinin
|
||||
@@ -85,5 +87,3 @@ set commentstring=#\ %s
|
||||
|
||||
" Enable automatic comment insertion
|
||||
setlocal fo+=cro
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dockerfile') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'dockerfile') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Dockerfile
|
||||
" Maintainer: Eugene Kalinin
|
||||
@@ -64,5 +66,3 @@ set commentstring=#\ %s
|
||||
|
||||
" Enable automatic comment insertion
|
||||
setlocal fo+=cro
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -67,5 +69,3 @@ endif
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -228,5 +230,3 @@ let b:current_syntax = "elixir"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elm') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" syntax highlighting for Elm (http://elm-lang.org/)
|
||||
|
||||
if exists('b:current_syntax')
|
||||
@@ -79,5 +81,3 @@ hi def link elmNumberType Identifier
|
||||
syn sync minlines=500
|
||||
|
||||
let b:current_syntax = 'elm'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'emberscript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: ember-script
|
||||
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>>
|
||||
" URL: http://github.com/yalesov/vim-ember-script
|
||||
@@ -31,5 +33,3 @@ syn match emEach /\v\@each/ display
|
||||
hi def link emEach Special
|
||||
|
||||
let b:current_syntax = 'ember-script'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emblem') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'emblem') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: emblem
|
||||
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>
|
||||
" URL: http://github.com/yalesov/vim-emblem
|
||||
@@ -171,5 +173,3 @@ hi def link eblId Constant
|
||||
hi def link eblClass Identifier
|
||||
|
||||
let b:current_syntax = 'emblem'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'erlang') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'erlang') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Erlang (http://www.erlang.org)
|
||||
" Maintainer: Csaba Hoch <csaba.hoch@gmail.com>
|
||||
@@ -261,5 +263,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: sw=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: eRuby
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -80,5 +82,3 @@ if main_syntax == 'eruby'
|
||||
endif
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ferm') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ferm') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
"============================================================================
|
||||
" ferm syntax highlighter
|
||||
"
|
||||
@@ -203,5 +205,3 @@ endif
|
||||
" Autoconfigure vim indentation settings
|
||||
" vim:ts=4:sw=4:sts=4:fdm=marker:iskeyword+=-
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
@@ -37,5 +39,3 @@ highlight default link fishStatement Statement
|
||||
highlight default link fishCommandSub fishStatement
|
||||
|
||||
let b:current_syntax = 'fish'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fsharp') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: F#
|
||||
" Last Change: Sun 19 Oct 2014 11:11:44 PM CEST
|
||||
@@ -265,5 +267,3 @@ endif
|
||||
let b:current_syntax = 'fsharp'
|
||||
|
||||
" vim: sw=4 et sts=4
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: generic git output
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -80,5 +82,3 @@ hi def link gitDiffAdded diffAdded
|
||||
hi def link gitDiffRemoved diffRemoved
|
||||
|
||||
let b:current_syntax = "git"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: git commit file
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -91,5 +93,3 @@ hi def link gitcommitArrow gitcommitComment
|
||||
hi def link gitcommitBlank Error
|
||||
|
||||
let b:current_syntax = "gitcommit"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: git config file
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -36,5 +38,3 @@ hi def link gitconfigEscape Delimiter
|
||||
hi def link gitconfigError Error
|
||||
|
||||
let b:current_syntax = "gitconfig"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: git rebase --interactive
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -44,5 +46,3 @@ hi def link gitrebaseComment Comment
|
||||
hi def link gitrebaseSquashError Error
|
||||
|
||||
let b:current_syntax = "gitrebase"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'git') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: git send-email message
|
||||
" Maintainer: Tim Pope
|
||||
@@ -23,5 +25,3 @@ syn match gitsendemailComment "^GIT:.*"
|
||||
hi def link gitsendemailComment Comment
|
||||
|
||||
let b:current_syntax = "gitsendemail"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'glsl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: OpenGL Shading Language
|
||||
" Maintainer: Sergey Tikhomirov <sergey@tikhomirov.io>
|
||||
|
||||
@@ -675,5 +677,3 @@ if !exists("b:current_syntax")
|
||||
endif
|
||||
|
||||
" vim:set sts=2 sw=2 :
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gmpl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'gmpl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: GMPL
|
||||
" Maintainer: Mark Mba Wright
|
||||
@@ -118,5 +120,3 @@ hi def link gmplType Type
|
||||
hi def link gmplLabel Keyword
|
||||
hi def link gmplString String
|
||||
hi def link gmplStringToken Special
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gnuplot') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'gnuplot') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: gnuplot 4.7.0
|
||||
" Maintainer: Andrew Rasmussen andyras@users.sourceforge.net
|
||||
@@ -554,5 +556,3 @@ endif
|
||||
let b:current_syntax = "gnuplot"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Copyright 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.
|
||||
@@ -412,5 +414,3 @@ syn sync minlines=500
|
||||
let b:current_syntax = "go"
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -13,5 +15,3 @@ hi def link godebugOutputErr Comment
|
||||
hi def link godebugOutputOut Normal
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -11,5 +13,3 @@ let b:current_syntax = "godebugoutput"
|
||||
hi def link godebugStacktrace SpecialKey
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -23,5 +25,3 @@ hi def link goType Type
|
||||
hi def link goBoolean Boolean
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -20,5 +22,3 @@ hi def link godefStackFilename Directory
|
||||
hi def link godefStackEntryLocationNumber LineNr
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -17,5 +19,3 @@ syn cluster htmlPreproc add=gotplAction,goTplComment
|
||||
let b:current_syntax = "gohtmltmpl"
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" gomod.vim: Vim syntax file for go.mod file
|
||||
"
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
@@ -62,5 +64,3 @@ syntax match gomodVersion "v[2-9]\{1}\d\?\.0\.0-\d\{14\}-\x\+\%(+incompatible\>\
|
||||
highlight default link gomodVersion Identifier
|
||||
|
||||
let b:current_syntax = "gomod"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Copyright 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.
|
||||
@@ -85,5 +87,3 @@ hi def link goTplComment Comment
|
||||
let b:current_syntax = "gotexttmpl"
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'graphql') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: GraphQL
|
||||
" Maintainer: Jon Parise <jon@indelible.org>
|
||||
@@ -64,5 +66,3 @@ hi def link graphqlVariable Identifier
|
||||
syn sync minlines=500
|
||||
|
||||
let b:current_syntax = 'graphql'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'groovy') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'groovy') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Groovy
|
||||
" Maintainer: Alessio Pace <billy.corgan@tiscali.it>
|
||||
@@ -450,5 +452,3 @@ endif
|
||||
let b:spell_options="contained"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haml') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Haml
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -109,5 +111,3 @@ if main_syntax == "haml"
|
||||
endif
|
||||
|
||||
" vim:set sw=2:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haproxy') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haproxy') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: HAproxy
|
||||
" Maintainer: Dan Reif
|
||||
@@ -356,5 +358,3 @@ delcommand HiLink
|
||||
|
||||
let b:current_syntax = "haproxy"
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haskell') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" syntax highlighting for haskell
|
||||
"
|
||||
" Heavily modified version of the haskell syntax
|
||||
@@ -208,5 +210,3 @@ if get(g:, 'haskell_backpack', 0)
|
||||
highlight def link haskellBackpackDependency Include
|
||||
endif
|
||||
let b:current_syntax = "haskell"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haxe') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haxe') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: haxe
|
||||
" Derived from:
|
||||
@@ -427,5 +429,3 @@ if main_syntax == 'haxe'
|
||||
unlet main_syntax
|
||||
endif
|
||||
let b:spell_options="contained"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: HTML (version 5.1)
|
||||
" SVG (SVG 1.1 Second Edition)
|
||||
@@ -190,5 +192,3 @@ 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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: WAI-ARIA
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -75,5 +77,3 @@ 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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Electron
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -15,5 +17,3 @@ syn keyword htmlArg contained useragent disablewebsecurity partition allowpopups
|
||||
syn keyword htmlArg contained webpreferences blinkfeatures disableblinkfeatures
|
||||
syn keyword htmlArg contained guestinstance disableguestresize
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: RDFa
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -11,5 +13,3 @@ 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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'i3') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: i3 config file
|
||||
" Maintainer: Mohamed Boughaba <mohamed dot bgb at gmail dot com>
|
||||
@@ -250,5 +252,3 @@ hi! def link Variable Statement
|
||||
hi! def link ArbitraryCommand Type
|
||||
|
||||
let b:current_syntax = "i3config"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jasmine') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jasmine') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" 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
|
||||
@@ -84,5 +86,3 @@ hi def link jasmineSpecial Special
|
||||
hi def link jasmineSpy Special
|
||||
hi def link jasmineSpyMatcher Statement
|
||||
hi def link jasmineSuite Statement
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: JavaScript
|
||||
" Maintainer: vim-javascript community
|
||||
@@ -391,5 +393,3 @@ let b:current_syntax = "javascript"
|
||||
if main_syntax == 'javascript'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'html5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: HTML5 New Stuff
|
||||
" Maintainer: othree <othree@gmail.com>
|
||||
@@ -49,5 +51,3 @@ syn keyword javascriptDomElemAttrs indeterminate
|
||||
|
||||
" select https://w3c.github.io/selection-api/#extensions-to-globaleventhandlers
|
||||
syn keyword javascriptDomElemAttrs onselectstart onselectchange
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Jinja2 - with special modifications for compound-filetype
|
||||
" compatibility
|
||||
@@ -97,5 +99,3 @@ if !exists("did_jinja_syn_inits")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "jinja2"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'json') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: JSON
|
||||
" Maintainer: Eli Parra <eli@elzr.com> https://github.com/elzr/vim-json
|
||||
@@ -139,5 +141,3 @@ 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
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json5') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'json5') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Syntax setup {{{1
|
||||
if exists('b:current_syntax') && b:current_syntax == 'json5'
|
||||
finish
|
||||
@@ -52,5 +54,3 @@ if !exists('b:current_syntax')
|
||||
endif
|
||||
|
||||
" vim: fdm=marker
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jst') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -87,5 +89,3 @@ if exists("loaded_matchit")
|
||||
endif
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8:
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: julia
|
||||
" Maintainer: Carlo Baldassi <carlobaldassi@gmail.com>
|
||||
@@ -559,5 +561,3 @@ end
|
||||
syntax sync fromstart
|
||||
|
||||
let b:current_syntax = "julia"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'julia') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file for julia document view
|
||||
scriptencoding utf-8
|
||||
|
||||
@@ -65,5 +67,3 @@ highlight default link juliadocAdmonitionsType Todo
|
||||
highlight default link juliadocAdmonitionsTitle Title
|
||||
|
||||
let b:current_syntax = "juliadoc"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'kotlin') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Kotlin
|
||||
" Maintainer: Alexander Udalov
|
||||
@@ -112,5 +114,3 @@ hi link ktFloat Float
|
||||
|
||||
hi link ktExclExcl Special
|
||||
hi link ktArrow Structure
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax match helpText /^.*: .*/
|
||||
syntax match secNum /^\S\+\(\.\S\+\)\?\s*/ contained conceal
|
||||
syntax match secLine /^\S\+\t.\+/ contains=secNum
|
||||
@@ -9,5 +11,3 @@ highlight link helpText PreProc
|
||||
highlight link secNum Number
|
||||
highlight link mainSecLine Title
|
||||
highlight link ssubSecLine Comment
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'less') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'less') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
@@ -64,5 +66,3 @@ hi def link lessNestedProperty Type
|
||||
hi def link lessClass PreProc
|
||||
|
||||
let b:current_syntax = "less"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'liquid') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'liquid') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Liquid
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
@@ -138,5 +140,3 @@ let b:current_syntax = 'liquid'
|
||||
if exists('main_syntax') && main_syntax == 'liquid'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: Literate CoffeeScript
|
||||
" Maintainer: Michael Smith <michael@diglumi.com>
|
||||
" URL: https://github.com/mintplant/vim-literate-coffeescript
|
||||
@@ -23,5 +25,3 @@ syn region inlineCoffee start='^ \|\t' end='$' contains=@coffee
|
||||
highlight default link notCoffee Comment
|
||||
|
||||
let b:current_syntax = "litcoffee"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'livescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: LiveScript "
|
||||
" Maintainer: George Zahariev
|
||||
" URL: http://github.com/gkz/vim-ls
|
||||
@@ -136,5 +138,3 @@ highlight default link lsSpaceError Error
|
||||
if !exists('b:current_syntax')
|
||||
let b:current_syntax = 'livescript'
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'lua') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'lua') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Lua
|
||||
" URL: https://github.com/tbastos/vim-lua
|
||||
@@ -247,5 +249,3 @@ let b:current_syntax = "lua"
|
||||
if main_syntax == 'lua'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'mako') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Mako
|
||||
" Maintainer: Armin Ronacher <armin.ronacher@active-4.com>
|
||||
@@ -103,5 +105,3 @@ if version >= 508 || !exists("did_mako_syn_inits")
|
||||
endif
|
||||
|
||||
let b:current_syntax = b:mako_outer_lang
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'markdown') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Markdown
|
||||
" Maintainer: Ben Williams <benw@plasticboy.com>
|
||||
@@ -184,5 +186,3 @@ let b:current_syntax = "mkd"
|
||||
|
||||
delcommand HtmlHiLink
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Mason (Perl embedded in HTML)
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
@@ -83,5 +85,3 @@ let b:current_syntax = "mason"
|
||||
if main_syntax == 'mason'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mathematica') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'mathematica') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
"Vim syntax file
|
||||
" Language: Mathematica
|
||||
" Maintainer: R. Menon <rsmenon@icloud.com>
|
||||
@@ -169,5 +171,3 @@ let b:current_syntax = "mma"
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'moonscript') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'moonscript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Language: MoonScript
|
||||
" Maintainer: leafo <leafot@gmail.com>
|
||||
" Based On: CoffeeScript by Mick Koch <kchmck@gmail.com>
|
||||
@@ -317,5 +319,3 @@ syn cluster moonAll contains=moonStatement,moonRepeat,moonConditional,
|
||||
if !exists('b:current_syntax')
|
||||
let b:current_syntax = 'moon'
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'handlebars') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Mustache & Handlebars syntax
|
||||
" Language: Mustache, Handlebars
|
||||
" Maintainer: Juvenn Woo <machese@gmail.com>
|
||||
@@ -91,5 +93,3 @@ syn region mustacheScriptTemplate start=+<script [^>]*type *=[^>]*text/\(mustach
|
||||
|
||||
let b:current_syntax = "mustache"
|
||||
delcommand HtmlHiLink
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nginx') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: nginx.conf
|
||||
" Maintainer: Chris Aumann <me@chr4.org>
|
||||
@@ -2305,5 +2307,3 @@ hi link ngxGzipOn Error
|
||||
hi link ngxSSLCipherInsecure Error
|
||||
|
||||
hi link ngxThirdPartyLuaBlock Function
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nim') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
if version < 600
|
||||
@@ -204,5 +206,3 @@ endif
|
||||
|
||||
let b:current_syntax = "nim"
|
||||
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nix') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Nix
|
||||
" Maintainer: Daiderd Jordan <daiderd@gmail.com>
|
||||
@@ -196,5 +198,3 @@ hi def link nixWithExprKeyword Keyword
|
||||
syn sync fromstart
|
||||
|
||||
let b:current_syntax = "nix"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ocaml') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: OCaml
|
||||
" Filenames: *.ml *.mli *.mll *.mly
|
||||
@@ -331,5 +333,3 @@ endif
|
||||
let b:current_syntax = "ocaml"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'octave') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'octave') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Octave
|
||||
" Maintainer: Rik <rik@nomad.inbox5.com>
|
||||
@@ -614,5 +616,3 @@ endif
|
||||
let b:current_syntax = "octave"
|
||||
|
||||
"EOF vim: ts=8 noet tw=100 sw=8 sts=0
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'opencl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'opencl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: OpenCL (Open Computing Language)
|
||||
" Maintainer: Terence Ou (rivan_@msn.com)
|
||||
@@ -157,5 +159,3 @@ hi def link clStatement Statement
|
||||
let b:current_syntax = "opencl"
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'org') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'org') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Support org authoring markup as closely as possible
|
||||
" (we're adding two markdown-like variants for =code= and blockquotes)
|
||||
" -----------------------------------------------------------------------------
|
||||
@@ -383,5 +385,3 @@ if exists('g:loaded_SyntaxRange')
|
||||
endif
|
||||
|
||||
" vi: ft=vim:tw=80:sw=4:ts=4:fdm=marker
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'org') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'org') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" TODO do we really need a separate syntax file for the agenda?
|
||||
" - Most of the stuff here is also in syntax.org
|
||||
" - DRY!
|
||||
@@ -79,5 +81,3 @@ syntax match hyperlinkBracketsLeft contained "\[\{2}" conceal
|
||||
syntax match hyperlinkURL contained "[^][]*\]\[" conceal
|
||||
syntax match hyperlinkBracketsRight contained "\]\{2}" conceal
|
||||
hi def link hyperlink Underlined
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'org') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'org') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syn match org_todo_key /\[\zs[^]]*\ze\]/
|
||||
hi def link org_todo_key Identifier
|
||||
|
||||
@@ -47,5 +49,3 @@ endif
|
||||
|
||||
call s:ReadTodoKeywords(g:org_todo_keywords, s:todo_headings)
|
||||
unlet! s:todo_headings
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Perl 5
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
@@ -582,5 +584,3 @@ unlet s:cpo_save
|
||||
|
||||
" XXX Change to sts=4:sw=4
|
||||
" vim:ts=8:sts=2:sw=2:expandtab:ft=vim
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pgsql') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'pgsql') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: pgsql
|
||||
" Maintainer: Devrim GUNDUZ <devrim@PostgreSQL.org>
|
||||
@@ -2281,5 +2283,3 @@ let b:current_syntax = "pgsql"
|
||||
|
||||
" Section: Modelines {{{1
|
||||
" vim600: set foldmethod=marker foldlevel=0 :
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'php') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'php') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: PHP 5.3 & up
|
||||
"
|
||||
@@ -958,5 +960,3 @@ endif
|
||||
" }}}
|
||||
|
||||
" vim: ts=8 sts=2 sw=2 fdm=marker expandtab
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'plantuml') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: PlantUML
|
||||
" Maintainer: Anders Thøgersen <first name at bladre dot dk>
|
||||
@@ -314,5 +316,3 @@ highlight default link plantumlStereotype Type
|
||||
|
||||
let &cpo=s:cpo_orig
|
||||
unlet s:cpo_orig
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Perl POD format
|
||||
" Maintainer: vim-perl <vim-perl@googlegroups.com>
|
||||
@@ -175,5 +177,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'pony') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Pony
|
||||
" Maintainer: Jak Wings
|
||||
@@ -227,5 +229,3 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
let b:current_syntax = 'pony'
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'protobuf') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'protobuf') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Protocol Buffers - Google's data interchange format
|
||||
" Copyright 2008 Google Inc. All rights reserved.
|
||||
" https://developers.google.com/protocol-buffers/
|
||||
@@ -107,5 +109,3 @@ if version >= 508 || !exists("did_proto_syn_inits")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "proto"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'powershell') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Windows PowerShell
|
||||
" Maintainer: Peter Provost <peter@provost.org>
|
||||
@@ -185,5 +187,3 @@ if version >= 508 || !exists("did_ps1_syn_inits")
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ps1"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1
|
||||
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'powershell') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Windows PowerShell XML
|
||||
" Maintainer: Peter Provost <peter@provost.org>
|
||||
@@ -56,5 +58,3 @@ let b:current_syntax = "ps1xml"
|
||||
let &cpo = s:ps1xml_cpo_save
|
||||
unlet s:ps1xml_cpo_save
|
||||
|
||||
|
||||
endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user