From 831182cd30f8146e9eaaead82cc3b1c887c9952e Mon Sep 17 00:00:00 2001 From: Vladislav Korikhin <113128490+korikhin@users.noreply.github.com> Date: Thu, 30 Jan 2025 20:23:42 +0700 Subject: [PATCH] fix: Delete shebang regex and add .vsh extenstion (#17) --- languages/v/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/v/config.toml b/languages/v/config.toml index ce991e5..845778e 100644 --- a/languages/v/config.toml +++ b/languages/v/config.toml @@ -1,7 +1,7 @@ name = "V" grammar = "v" -path_suffixes = ["v", "vv", "mod"] -first_line_pattern = '^#![^\\n]+' +path_suffixes = ["v", "vv", "vsh", "mod"] +first_line_pattern = "^#!.*/(?:v|env(?: .*)? v)(?: |$)" line_comments = ["// "] autoclose_before = ";:.,=}])>" brackets = [