hare.vim

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

commit 22bdf4effae218cba67788b302085edf46e16a0e
parent c45a0c7665fce3bedd963388da7b320111fcf05c
Author: Amelia Clarke <me@rsaihe.dev>
Date:   Mon, 22 Aug 2022 19:57:47 -0700

syntax: allow blocks to be folded

Signed-off-by: Amelia Clarke <me@rsaihe.dev>

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

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -75,6 +75,9 @@ syn keyword hareTodo FIXME TODO XXX contained " Attributes. syn match hareAttribute "@[a-z]*" +" Blocks. +syn region hareBlock start="{" end="}" fold transparent + " Comments. syn region hareComment start="//" end="$" contains=hareCommentDoc,hareTodo,@Spell display keepend syn region hareCommentDoc start="\[\[" end="]]\|\ze\_s" contained display