diff options
| author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2021-12-26 15:05:27 +0800 |
|---|---|---|
| committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2021-12-26 15:05:27 +0800 |
| commit | 69a857bbbfd4ab12dc5ef463508dc44c69c67e93 (patch) | |
| tree | 578aeb2e504c7e60d76005e559659f8cbca592d0 /data/plugins/language_cpp.lua | |
| parent | 4d31b1bc404a56a1160f75ed82adec24042d676e (diff) | |
| download | lite-xl-69a857bbbfd4ab12dc5ef463508dc44c69c67e93.tar.gz lite-xl-69a857bbbfd4ab12dc5ef463508dc44c69c67e93.zip | |
fallback to toggle-line-comment and vice versa if needed
Diffstat (limited to 'data/plugins/language_cpp.lua')
| -rw-r--r-- | data/plugins/language_cpp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index 03554a48..2b3a104f 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -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" }, |
