Skip to content

Commit

Permalink
fix: Delete shebang regex and add .vsh extenstion (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
korikhin authored Jan 30, 2025
1 parent dbe2c38 commit 831182c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions languages/v/config.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down

0 comments on commit 831182c

Please sign in to comment.