Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
chatito.vim63 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	Chatito3" Maintainer:	ObserverOfTime <chronobserver@disroot.org>4" Filenames:	*.chatito5" Last Change:	2022 Sep 196 7if exists('b:current_syntax')8    finish9endif10 11" Comment12syn keyword chatitoTodo contained TODO FIXME XXX13syn match chatitoComment /^#.*/ contains=chatitoTodo,@Spell14syn match chatitoComment +^//.*+ contains=chatitoTodo,@Spell15 16" Import17syn match chatitoImport /^import \+.*$/ transparent contains=chatitoImportKeyword,chatitoImportFile18syn keyword chatitoImportKeyword import contained nextgroup=chatitoImportFile19syn match chatitoImportFile /.*$/ contained skipwhite20 21" Intent22syn match chatitoIntent /^%\[[^\]?]\+\]\((.\+)\)\=$/ contains=chatitoArgs23 24" Slot25syn match chatitoSlot /^@\[[^\]?#]\+\(#[^\]?#]\+\)\=\]\((.\+)\)\=$/ contains=chatitoArgs,chatitoVariation26syn match chatitoSlot /@\[[^\]?#]\+\(#[^\]?#]\+\)\=?\=\]/ contained contains=chatitoOpt,chatitoVariation27 28" Alias29syn match chatitoAlias /^\~\[[^\]?]\+\]\=$/30syn match chatitoAlias /\~\[[^\]?]\+?\=\]/ contained contains=chatitoOpt31 32" Probability33syn match chatitoProbability /\*\[\d\+\(\.\d\+\)\=%\=\]/ contained34 35" Optional36syn match chatitoOpt '?' contained37 38" Arguments39syn match chatitoArgs /(.\+)/ contained40 41" Variation42syn match chatitoVariation /#[^\]?#]\+/ contained43 44" Value45syn match chatitoValue /^ \{4\}\zs.\+$/ contains=chatitoProbability,chatitoSlot,chatitoAlias,@Spell46 47" Errors48syn match chatitoError /^\t/49 50hi def link chatitoAlias String51hi def link chatitoArgs Special52hi def link chatitoComment Comment53hi def link chatitoError Error54hi def link chatitoImportKeyword Include55hi def link chatitoIntent Statement56hi def link chatitoOpt SpecialChar57hi def link chatitoProbability Number58hi def link chatitoSlot Identifier59hi def link chatitoTodo Todo60hi def link chatitoVariation Special61 62let b:current_syntax = 'chatito'63 
codekingpro/portable-devtools · Team Ai