Commit 07cb552

mo khan <mo@mokhan.ca>
2026-01-05 23:36:08
Remove cedar language config
1 parent 53ba3f2
Changed files (2)
ftplugin
syntax
ftplugin/cedar.vim
syntax/cedar.vim
@@ -1,32 +0,0 @@
-syntax case match
-
-syn region cedarString start=/"/ end=/"/ containedin=ALLBUT keepend
-
-" Effect
-syn keyword cedarEffectKeyword permit forbid
-syn keyword cedarOperator in has containsAll containsAny isIpv4 isIpv6 isLoopback isMulticast isInRange lessThan lessThanOrEqual greaterThan greaterThanOrEqual ip like decimal contains
-
-" Scope
-syn match cedarScopeKeywordsMatch /\(principal\|action\|resource\)/ contained
-syn region cedarEffectBlock start=/(/ end=/)/ fold transparent contains=cedarScopeKeywordsMatch,cedarOperator,cedarTemplateKeywordsMatch
-
-" Conditions
-syn match cedarCondKeywordMatch /\(unless\|when\)/
-syn match cedarCondKeywordsMatch /\(principal\|action\|resource\|context\)/ contained
-syn region cedarCondBlock start=/{/ end=/}/ fold transparent contains=cedarCondKeywordsMatch,cedarOperator,cedarTemplateKeywordsMatch
-
-syn match cedarTemplateKeywordsMatch /\(?principal\|?resource\)/
-
-" Comments
-syn region cedarComment start=/\/\// end= /$/ oneline
-
-hi link cedarEffectKeyword Special
-hi link cedarScopeKeywordsMatch PreProc
-hi link cedarComment Comment
-hi link cedarCondKeywordMatch Conditional
-hi link cedarOperator Label
-
-hi link cedarCondKeywordsMatch PreProc
-
-hi link cedarString String
-hi link cedarTemplateKeywordsMatch Identifier