Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
manconf.vim118 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:             man.conf(5) - man 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 manconfTodo         contained TODO FIXME XXX NOTE14 15syn region  manconfComment      display oneline start='^#' end='$'16                                \ contains=manconfTodo,@Spell17 18if !has("win32") && $OSTYPE =~   'bsd'19  syn match   manconfBegin      display '^'20                                \ nextgroup=manconfKeyword,manconfSection,21                                \ manconfComment skipwhite22 23  syn keyword manconfKeyword    contained _build _crunch24                                \ nextgroup=manconfExtCmd skipwhite25 26  syn keyword manconfKeyword    contained _suffix27                                \ nextgroup=manconfExt skipwhite28 29  syn keyword manconfKeyword    contained _crunch30 31  syn keyword manconfKeyword    contained _subdir _version _whatdb32                                \ nextgroup=manconfPaths skipwhite33 34  syn match   manconfExtCmd     contained display '\.\S\+'35                                \ nextgroup=manconfPaths skipwhite36 37  syn match   manconfSection    contained '[^#_ \t]\S*'38                                \ nextgroup=manconfPaths skipwhite39 40  syn keyword manconfSection    contained _default41                                \ nextgroup=manconfPaths skipwhite42 43  syn match   manconfPaths      contained display '\S\+'44                                \ nextgroup=manconfPaths skipwhite45 46  syn match   manconfExt        contained display '\.\S\+'47 48  hi def link manconfExtCmd     Type49  hi def link manconfSection    Identifier50  hi def link manconfPaths      String51else52  syn match   manconfBegin      display '^'53                                \ nextgroup=manconfBoolean,manconfKeyword,54                                \ manconfDecompress,manconfComment skipwhite55 56  syn keyword manconfBoolean    contained FSSTND FHS NOAUTOPATH NOCACHE57 58  syn keyword manconfKeyword    contained MANBIN59                                \ nextgroup=manconfPath skipwhite60 61  syn keyword manconfKeyword    contained MANPATH MANPATH_MAP62                                \ nextgroup=manconfFirstPath skipwhite63 64  syn keyword manconfKeyword    contained APROPOS WHATIS TROFF NROFF JNROFF EQN65                                \ NEQN JNEQN TBL COL REFER PIC VGRIND GRAP66                                \ PAGER BROWSER HTMLPAGER CMP CAT COMPRESS67                                \ DECOMPRESS MANDEFOPTIONS68                                \ nextgroup=manconfCommand skipwhite69 70  syn keyword manconfKeyword    contained COMPRESS_EXT71                                \ nextgroup=manconfExt skipwhite72 73  syn keyword manconfKeyword    contained MANSECT74                                \ nextgroup=manconfManSect skipwhite75 76  syn match   manconfPath       contained display '\S\+'77 78  syn match   manconfFirstPath  contained display '\S\+'79                                \ nextgroup=manconfSecondPath skipwhite80 81  syn match   manconfSecondPath contained display '\S\+'82 83  syn match   manconfCommand    contained display '\%(/[^/ \t]\+\)\+'84                                \ nextgroup=manconfCommandOpt skipwhite85 86  syn match   manconfCommandOpt contained display '\S\+'87                                \ nextgroup=manconfCommandOpt skipwhite88 89  syn match   manconfExt        contained display '\.\S\+'90 91  syn match   manconfManSect    contained '[^:]\+' nextgroup=manconfManSectSep92 93  syn match   manconfManSectSep contained ':' nextgroup=manconfManSect94 95  syn match   manconfDecompress contained '\.\S\+'96                                \ nextgroup=manconfCommand skipwhite97 98  hi def link manconfBoolean    Boolean99  hi def link manconfPath       String100  hi def link manconfFirstPath  manconfPath101  hi def link manconfSecondPath manconfPath102  hi def link manconfCommand    String103  hi def link manconfCommandOpt Special104  hi def link manconfManSect    Identifier105  hi def link manconfManSectSep Delimiter106  hi def link manconfDecompress Type107endif108 109hi def link manconfTodo         Todo110hi def link manconfComment      Comment111hi def link manconfKeyword      Keyword112hi def link manconfExt          Type113 114let b:current_syntax = "manconf"115 116let &cpo = s:cpo_save117unlet s:cpo_save118 
codekingpro/portable-devtools · Team Ai