Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
a2ps.vim72 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:             a2ps(1) configuration file3" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>4" Latest Revision:      2006-04-195 6if exists("b:current_syntax")7  finish8endif9 10let s:cpo_save = &cpo11set cpo&vim12 13syn keyword a2psPreProc       Include14                              \ nextgroup=a2psKeywordColon15 16syn keyword a2psMacro         UserOption17                              \ nextgroup=a2psKeywordColon18 19syn keyword a2psKeyword       LibraryPath AppendLibraryPath PrependLibraryPath20                              \ Options Medium Printer UnknownPrinter21                              \ DefaultPrinter OutputFirstLine22                              \ PageLabelFormat Delegation FileCommand23                              \ nextgroup=a2psKeywordColon24 25syn match   a2psKeywordColon  contained display ':'26 27syn keyword a2psKeyword       Variable nextgroup=a2psVariableColon28 29syn match   a2psVariableColon contained display ':'30                              \ nextgroup=a2psVariable skipwhite31 32syn match   a2psVariable      contained display '[^ \t:(){}]\+'33                              \ contains=a2psVarPrefix34 35syn match   a2psVarPrefix     contained display36                              \ '\<\%(del\|pro\|ps\|pl\|toc\|user\|\)\ze\.'37 38syn match   a2psLineCont      display '\\$'39 40syn match   a2psSubst         display '$\%(-\=.\=\d\+\)\=\h\d\='41syn match   a2psSubst         display '#[?!]\=\w\d\='42syn match   a2psSubst         display '#{[^}]\+}'43 44syn region  a2psString        display oneline start=+'+ end=+'+45                              \ contains=a2psSubst46 47syn region  a2psString        display oneline start=+"+ end=+"+48                              \ contains=a2psSubst49 50syn keyword a2psTodo          contained TODO FIXME XXX NOTE51 52syn region  a2psComment       display oneline start='^\s*#' end='$'53                              \ contains=a2psTodo,@Spell54 55hi def link a2psTodo          Todo56hi def link a2psComment       Comment57hi def link a2psPreProc       PreProc58hi def link a2psMacro         Macro59hi def link a2psKeyword       Keyword60hi def link a2psKeywordColon  Delimiter61hi def link a2psVariableColon Delimiter62hi def link a2psVariable      Identifier63hi def link a2psVarPrefix     Type64hi def link a2psLineCont      Special65hi def link a2psSubst         PreProc66hi def link a2psString        String67 68let b:current_syntax = "a2ps"69 70let &cpo = s:cpo_save71unlet s:cpo_save72 
codekingpro/portable-devtools · Team Ai