From 454b6580826b49b43f0623f40035ff5dd45eb063 Mon Sep 17 00:00:00 2001 From: SimonFJ20 Date: Thu, 12 Dec 2024 13:44:12 +0100 Subject: [PATCH] add multiline comment --- editors/vim/syntax/slige.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editors/vim/syntax/slige.vim b/editors/vim/syntax/slige.vim index ad76993..46f95ca 100644 --- a/editors/vim/syntax/slige.vim +++ b/editors/vim/syntax/slige.vim @@ -36,9 +36,10 @@ syn match Number '0b[01]\+' syn region String start=+"+ skip=+\\"+ end=+"+ syn keyword Todo contained TODO FIXME XXX NOTE -syn match Comment "/\*.*\*/" contains=Todo syn match Comment "//.*$" contains=Todo +syn region Comment start=+/\*+ end=+\*/+ contains=Todo + syn match Function '[a-zA-Z_]\w*\ze(' syn region sligeBlock start="{" end="}" transparent fold