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
@@ -10,6 +10,7 @@ syntax.add {
"%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$"
},
comment = "//",
multiline_comment = { "/*", "*/" },
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },