aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna “CyberTailor” <cyber@sysrq.in>2022-02-03 10:11:02 +0000
committerOmar Polo <op@omarpolo.com>2022-02-03 11:13:45 +0100
commitbe88c5d657e2a2e0a2a9f6d75910e5f08ec5e755 (patch)
tree418bf44267ec17851f09c17d9d0a39729e3ce421
parent1f1f381068ac81bb86177e7d55e75f440522643f (diff)
sync vim syntax
-rw-r--r--contrib/vim/syntax/gmid.vim18
1 files changed, 15 insertions, 3 deletions
diff --git a/contrib/vim/syntax/gmid.vim b/contrib/vim/syntax/gmid.vim
index 9be6323..bd046bc 100644
--- a/contrib/vim/syntax/gmid.vim
+++ b/contrib/vim/syntax/gmid.vim
@@ -13,8 +13,8 @@ setlocal iskeyword+=-
" Value Types: {{{2
" ============
-syn keyword gmidBoolean on
-syn keyword gmidBoolean off
+syn keyword gmidBoolean on contained
+syn keyword gmidBoolean off contained
syn match gmidNumber "\<\d\+\>" display
@@ -69,10 +69,22 @@ syn keyword gmidDirective key
syn keyword gmidDirective lang
syn keyword gmidDirective log nextgroup=gmidBoolean skipwhite
syn keyword gmidDirective param
+syn keyword gmidDirective ocsp
syn keyword gmidDirective root
-syn match gmidDirective "\<require\s\+client\s\+ca>" display
+syn match gmidDirective "\<require\s\+client\s\+ca\>" display
syn keyword gmidDirective strip nextgroup=gmidNumber skipwhite
+" Proxy Blocks: {{{3
+" =============
+syn keyword gmidDirectiveBlock proxy
+syn keyword gmidDirectiveContinuation proto
+syn keyword gmidDirectiveContinuation for-host
+
+syn keyword gmidDirective relay-to
+syn keyword gmidDirective sni
+syn keyword gmidDirective use-tls nextgroup=gmidBoolean skipwhite
+syn keyword gmidDirective verifyname nextgroup=gmidBoolean skipwhite
+
" Highlighting Settings: {{{1
" ======================