fallback to toggle-line-comment and vice versa if needed
This commit is contained in:
@@ -10,7 +10,7 @@ syntax.add {
|
||||
"%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$"
|
||||
},
|
||||
comment = "//",
|
||||
multiline_comment = { "/*", "*/" },
|
||||
block_comment = { "/*", "*/" },
|
||||
patterns = {
|
||||
{ pattern = "//.-\n", type = "comment" },
|
||||
{ pattern = { "/%*", "%*/" }, type = "comment" },
|
||||
|
||||
Reference in New Issue
Block a user