hare.vim

[vim] Hare vim plugin
git clone https://git.torresjrjr.com/hare.vim.git
Log | Files | Refs | README | LICENSE

commit 07b4c7d5493f48289f9b4f5fedf7aedf2c4ac7e2
parent 02b256d00c24ce4f65d6f913542103bd8361b75b
Author: Amelia Clarke <me@rsaihe.dev>
Date:   Thu, 28 Jul 2022 14:47:23 -0700

Add highlight group for question mark operator

Diffstat:
Msyntax/hare.vim | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -21,6 +21,7 @@ syn match hareOperator "\.\.\." "\.\." syn match hareErrorAssertion "\v(^([^/]|//@!)*\)\_s*)@<=!\=@!" syn match hareEscape "\\[\\\'\"0abfnrtv]" contained syn match hareEscapeRaw "\\[\\0abfnrtv]" contained +syn match hareQuestionMark "?" syn region hareString start=+\z(["']\)+ end=+\z1+ skip=+\\\\\|\\\z1+ contains=hareEscape syn region hareString start=+`+ end=+`+ contains=hareEscapeRaw @@ -74,6 +75,7 @@ hi def link hareNumber Number hi def link hareOctal Number hi def link hareOperator Operator hi def link harePreProc PreProc +hi def link hareQuestionMark Special hi def link hareEscape SpecialChar hi def link hareEscapeRaw hareEscape hi def link hareString String