~sircmpwn/hare.vim

22bdf4effae218cba67788b302085edf46e16a0e — Amelia Clarke 1 year, 3 months ago c45a0c7
syntax: allow blocks to be folded

Signed-off-by: Amelia Clarke <me@rsaihe.dev>
1 files changed, 3 insertions(+), 0 deletions(-)

M syntax/hare.vim
M syntax/hare.vim => syntax/hare.vim +3 -0
@@ 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