fallback to toggle-line-comment and vice versa if needed

This commit is contained in:
takase1121
2021-12-26 15:05:27 +08:00
parent 4d31b1bc40
commit 69a857bbbf
8 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ syntax.add {
name = "JavaScript",
files = { "%.js$", "%.json$", "%.cson$" },
comment = "//",
multiline_comment = { "/*", "*/" },
block_comment = { "/*", "*/" },
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },