Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
dictconf.vim81 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:             dict(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 dictconfTodo        contained TODO FIXME XXX NOTE14 15syn region  dictconfComment     display oneline start='#' end='$'16                                \ contains=dictconfTodo,@Spell17 18syn match   dictconfBegin       display '^'19                                \ nextgroup=dictconfKeyword,dictconfComment20                                \ skipwhite21 22syn keyword dictconfKeyword     contained server23                                \ nextgroup=dictconfServer skipwhite24 25syn keyword dictconfKeyword     contained pager26                                \ nextgroup=dictconfPager27 28syn match   dictconfServer      contained display29                                \ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'30                                \ nextgroup=dictconfServerOptG skipwhite31 32syn region  dictconfServer      contained display oneline33                                \ start=+"+ skip=+""+ end=+"+34                                \ nextgroup=dictconfServerOptG skipwhite35 36syn region  dictconfServerOptG  contained transparent37                                \ matchgroup=dictconfServerOptsD start='{'38                                \ matchgroup=dictconfServerOptsD end='}'39                                \ contains=dictconfServerOpts,dictconfComment40 41syn keyword dictconfServerOpts  contained port42                                \ nextgroup=dictconfNumber skipwhite43 44syn keyword dictconfServerOpts  contained user45                                \ nextgroup=dictconfUsername skipwhite46 47syn match   dictconfUsername    contained display48                                \ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'49                                \ nextgroup=dictconfSecret skipwhite50syn region  dictconfUsername    contained display oneline51                                \ start=+"+ skip=+""+ end=+"+52                                \ nextgroup=dictconfSecret skipwhite53 54syn match   dictconfSecret      contained display55                                \ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'56syn region  dictconfSecret      contained display oneline57                                \ start=+"+ skip=+""+ end=+"+58 59syn match   dictconfNumber      contained '\<\d\+\>'60 61syn match   dictconfPager       contained display62                                \ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'63syn region  dictconfPager       contained display oneline64                                \ start=+"+ skip=+""+ end=+"+65 66hi def link dictconfTodo        Todo67hi def link dictconfComment     Comment68hi def link dictconfKeyword     Keyword69hi def link dictconfServer      String70hi def link dictconfServerOptsD Delimiter71hi def link dictconfServerOpts  Identifier72hi def link dictconfUsername    String73hi def link dictconfSecret      Special74hi def link dictconfNumber      Number75hi def link dictconfPager       String76 77let b:current_syntax = "dictconf"78 79let &cpo = s:cpo_save80unlet s:cpo_save81 
codekingpro/portable-devtools · Team Ai