Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
gitconfig.vim37 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	git config file3" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>4" Filenames:	gitconfig, .gitconfig, *.git/config5" Last Change:	2019 Dec 056 7if exists("b:current_syntax")8  finish9endif10 11syn case ignore12syn sync minlines=1013 14syn match   gitconfigComment	"[#;].*" contains=@Spell15syn match   gitconfigSection	"\%(^\s*\)\@<=\[[a-z0-9.-]\+\]"16syn match   gitconfigSection	'\%(^\s*\)\@<=\[[a-z0-9.-]\+ \+\"\%([^\\"]\|\\.\)*"\]'17syn match   gitconfigVariable	"\%(^\s*\)\@<=\a[a-z0-9-]*\%(\s*\%([=#;]\|$\)\)\@=" nextgroup=gitconfigAssignment skipwhite18syn region  gitconfigAssignment  matchgroup=gitconfigNone start=+=\s*+ skip=+\\+ end=+\s*$+ contained contains=gitconfigBoolean,gitconfigNumber,gitConfigString,gitConfigEscape,gitConfigError,gitconfigComment keepend19syn keyword gitconfigBoolean true false yes no contained20syn match   gitconfigNumber  "\<\d\+\>" contained21syn region  gitconfigString  matchgroup=gitconfigDelim start=+"+ skip=+\\+ end=+"+ matchgroup=gitconfigError end=+[^\\"]\%#\@!$+ contained contains=gitconfigEscape,gitconfigEscapeError22syn match   gitconfigError  +\\.+	 contained23syn match   gitconfigEscape +\\[\\"ntb]+ contained24syn match   gitconfigEscape +\\$+	 contained25 26hi def link gitconfigComment		Comment27hi def link gitconfigSection		Keyword28hi def link gitconfigVariable		Identifier29hi def link gitconfigBoolean		Boolean30hi def link gitconfigNumber		Number31hi def link gitconfigString		String32hi def link gitconfigDelim		Delimiter33hi def link gitconfigEscape		Special34hi def link gitconfigError		Error35 36let b:current_syntax = "gitconfig"37 
codekingpro/portable-devtools · Team Ai