hare.vim

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

commit 3dcc7040a0d85378d4d2976f9010b664c66cf0fa
parent dc162c015020da4032da000ba22dc48f53b778a5
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 10 Feb 2021 09:10:57 -0500

Make keywords case-sensitive

Diffstat:
Msyntax/hare.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -5,6 +5,7 @@ if exists("b:current_syntax") finish endif +syn case match syn keyword hareKeyword let const fn def type static export defer syn keyword hareBranch for return break continue syn keyword hareConditional if else match switch @@ -19,7 +20,6 @@ syn region hareString start=+\z(["']\)+ end=+\z1+ skip=+\\\\\|\\\z1+ "adapted from c.vim "integer number, or floating point number without a dot and with "f". -syn case ignore syn match hareNumbers display transparent "\<\d" contains=hareNumber,hareOctal,hareFloat syn match hareNumber display contained "\d\+\(e[-+]\?\d\+\)\?\([ziu]\d*\)\?" "hex number