commit f0df5b1e8eb8c04aaffa520a0bbdf635dbf7cb21
parent f171c444484be1e21e2008294d90df9957fdfd73
Author: hhvn <dev@haydenvh.com>
Date: Thu, 18 Mar 2021 20:02:20 +0000
.c/n/s/gph.vim: add matching for new types
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.config/nvim/syntax/gph.vim b/.config/nvim/syntax/gph.vim
@@ -16,11 +16,12 @@ hi gphCitationBracks guifg=#a1a1d9
" END comment spree
syn match gphSelector "|.*\]$" contains=gphPipe,gphServer,gphURL,gphURI,gphFileDir,gphFileGph,gphFileCGI,gphFileDCGI,gphFileHTML,gphCitation
-syn match gphType "^\[.*\]$" contains=gphBrackl,gphType1,gphType2,gphSelector,gphType3
+syn match gphType "^\[.*\]$" contains=gphBrackl,gphType1,gphType2,gphSelector,gphType3,gphType4
syn match gphType1 "[012456789gmsITi\+:;<PcMd\*\.]" contained
syn match gphType2 "[hH]" contained
syn match gphType3 "3" contained
+syn match gphType4 "[NrRfSHPeGFj]" contained
syn match gphServer "[^|]*|[^|]*]" contained contains=gphBrackr,gphSelf,gphErr,gphPipe,gphServer2
syn match gphServer2 "[^|\]]*" contained contains=gphBrackr,gphPipe
syn match gphFileGph "[^|]*\.gph|" contained contains=gphPipe
@@ -48,6 +49,7 @@ hi link gphTab errormsg
hi gphType1 guifg=#575b72
hi gphType2 guifg=#4747e1
hi gphType3 guifg=#dc6f3c
+hi gphType4 guifg=#4747e1
hi link gphErr gphType3
hi gphServer2 guifg=#a84b8d