add toggle-block-comment

This commit is contained in:
takase1121
2021-12-25 12:57:00 +08:00
parent 4be8a8b582
commit 4d31b1bc40
9 changed files with 71 additions and 15 deletions
+1
View File
@@ -5,6 +5,7 @@ syntax.add {
name = "C",
files = { "%.c$", "%.h$", "%.inl$" },
comment = "//",
multiline_comment = { "/*", "*/" },
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },