summaryrefslogtreecommitdiffstats
path: root/syntax/gitconfig.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-12-06 13:05:56 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-12-06 13:05:56 +0100
commit9fe009095afdb86f6f771109ac454ccfc5340f31 (patch)
tree1bb6b2fd7e2ff2b94bd3dd8ce6fdb735e873237b /syntax/gitconfig.vim
parentdce9e8dec5ef51730291c7bbff3e3997433eabbd (diff)
downloadvim-polyglot-9fe009095afdb86f6f771109ac454ccfc5340f31.tar.gz
vim-polyglot-9fe009095afdb86f6f771109ac454ccfc5340f31.zip
Change julia provider to JuliaEditorSupport/julia-vim, closes #253
Diffstat (limited to 'syntax/gitconfig.vim')
-rw-r--r--syntax/gitconfig.vim42
1 files changed, 0 insertions, 42 deletions
diff --git a/syntax/gitconfig.vim b/syntax/gitconfig.vim
deleted file mode 100644
index 49b992b0..00000000
--- a/syntax/gitconfig.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'git') == -1
-
-" Vim syntax file
-" Language: git config file
-" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
-" Filenames: gitconfig, .gitconfig, *.git/config
-" Last Change: 2010 May 21
-
-if exists("b:current_syntax")
- finish
-endif
-
-setlocal iskeyword+=-
-setlocal iskeyword-=_
-syn case ignore
-syn sync minlines=10
-
-syn match gitconfigComment "[#;].*"
-syn match gitconfigSection "\%(^\s*\)\@<=\[[a-z0-9.-]\+\]"
-syn match gitconfigSection '\%(^\s*\)\@<=\[[a-z0-9.-]\+ \+\"\%([^\\"]\|\\.\)*"\]'
-syn match gitconfigVariable "\%(^\s*\)\@<=\a\k*\%(\s*\%([=#;]\|$\)\)\@=" nextgroup=gitconfigAssignment skipwhite
-syn region gitconfigAssignment matchgroup=gitconfigNone start=+=\s*+ skip=+\\+ end=+\s*$+ contained contains=gitconfigBoolean,gitconfigNumber,gitConfigString,gitConfigEscape,gitConfigError,gitconfigComment keepend
-syn keyword gitconfigBoolean true false yes no contained
-syn match gitconfigNumber "\d\+" contained
-syn region gitconfigString matchgroup=gitconfigDelim start=+"+ skip=+\\+ end=+"+ matchgroup=gitconfigError end=+[^\\"]\%#\@!$+ contained contains=gitconfigEscape,gitconfigEscapeError
-syn match gitconfigError +\\.+ contained
-syn match gitconfigEscape +\\[\\"ntb]+ contained
-syn match gitconfigEscape +\\$+ contained
-
-hi def link gitconfigComment Comment
-hi def link gitconfigSection Keyword
-hi def link gitconfigVariable Identifier
-hi def link gitconfigBoolean Boolean
-hi def link gitconfigNumber Number
-hi def link gitconfigString String
-hi def link gitconfigDelim Delimiter
-hi def link gitconfigEscape Delimiter
-hi def link gitconfigError Error
-
-let b:current_syntax = "gitconfig"
-
-endif