Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
trustees.vim45 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:     trustees3" Maintainer:   Nima Talebi <nima@it.net.au>4" Last Change:  2022 Jun 145 6" quit when a syntax file was already loaded7if exists("b:current_syntax")8  finish9endif10 11syntax case match12syntax sync minlines=0 maxlines=013 14" Errors & Comments15syntax match tfsError /.*/16highlight link tfsError Error17syntax keyword tfsSpecialComment TODO XXX FIXME contained18highlight link tfsSpecialComment Todo19syntax match tfsComment ~\s*#.*~ contains=tfsSpecialComment20highlight link tfsComment Comment 21 22" Operators & Delimiters23highlight link tfsSpecialChar Operator24syntax match tfsSpecialChar ~[*!+]~ contained25highlight link tfsDelimiter Delimiter26syntax match tfsDelimiter ~:~ contained27 28" Trustees Rules - Part 1 of 3 - The Device29syntax region tfsRuleDevice matchgroup=tfsDeviceContainer start=~\[/~ end=~\]~ nextgroup=tfsRulePath oneline30highlight link tfsRuleDevice Label31highlight link tfsDeviceContainer PreProc32 33" Trustees Rules - Part 2 of 3 - The Path34syntax match tfsRulePath ~/[-_a-zA-Z0-9/]*~ nextgroup=tfsRuleACL contained contains=tfsDelimiter 35highlight link tfsRulePath String36 37" Trustees Rules - Part 3 of 3 - The ACLs38syntax match tfsRuleACL ~\(:\(\*\|[+]\{0,1\}[a-zA-Z0-9/]\+\):[RWEBXODCU!]\+\)\+$~ contained contains=tfsDelimiter,tfsRuleWho,tfsRuleWhat39syntax match tfsRuleWho ~\(\*\|[+]\{0,1\}[a-zA-Z0-9/]\+\)~ contained contains=tfsSpecialChar40highlight link tfsRuleWho Identifier41syntax match tfsRuleWhat ~[RWEBXODCU!]\+~ contained contains=tfsSpecialChar42highlight link tfsRuleWhat Structure43 44let b:current_syntax = 'trustees'45 
codekingpro/portable-devtools · Team Ai