From 3c13b7e6d189ef0400fdfb3d2e15c8140c4919ef Mon Sep 17 00:00:00 2001 From: chanicpanic <51764816+chanicpanic@users.noreply.github.com> Date: Mon, 8 Sep 2025 22:32:46 -0700 Subject: [PATCH] Highlight Python-style comments --- syntax/lark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/lark.vim b/syntax/lark.vim index e1e0dce..8b1aea4 100644 --- a/syntax/lark.vim +++ b/syntax/lark.vim @@ -26,7 +26,7 @@ syn region string matchgroup=agroup start='"' end='"\|\n' skip='\\.' "Comment needs to be matched **after** REGEX Patterns otherwise comments are "highlighted as an empty regex pattern followed by tokens -syn region comment start="//" end="$" +syn region comment start="//\|#" end="$" let b:current_syntax = "lark"