Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
viminfo.vim50 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	Vim .viminfo file3" Maintainer:	The Vim Project <https://github.com/vim/vim>4" Last Change:	2023 Aug 105" Former Maintainer:	Bram Moolenaar <Bram@vim.org>6 7" Quit when a (custom) syntax file was already loaded8if exists("b:current_syntax")9  finish10endif11 12let s:cpo_save = &cpo13set cpo&vim14 15" The lines that are NOT recognized16syn match viminfoError "^[^\t].*"17 18" The one-character one-liners that are recognized19syn match viminfoStatement "^[/&$@:?=%!<]"20 21" The two-character one-liners that are recognized22syn match viminfoStatement "^[-'>"]."23syn match viminfoStatement +^"".+24syn match viminfoStatement "^\~[/&]"25syn match viminfoStatement "^\~[hH]"26syn match viminfoStatement "^\~[mM][sS][lL][eE]\d\+\~\=[/&]"27 28syn match viminfoOption "^\*.*=" contains=viminfoOptionName29syn match viminfoOptionName "\*\a*"ms=s+1 contained30 31" Comments32syn match viminfoComment "^#.*"33 34" New style lines.  TODO: highlight numbers and strings.35syn match viminfoNew "^|.*"36 37" Define the default highlighting.38" Only used when an item doesn't have highlighting yet39hi def link viminfoComment	Comment40hi def link viminfoError	Error41hi def link viminfoStatement	Statement42hi def link viminfoNew		String43 44let b:current_syntax = "viminfo"45 46let &cpo = s:cpo_save47unlet s:cpo_save48 49" vim: ts=8 sw=250 
codekingpro/portable-devtools · Team Ai