diff options
| author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2021-12-25 12:57:00 +0800 |
|---|---|---|
| committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2021-12-25 12:57:00 +0800 |
| commit | 4d31b1bc404a56a1160f75ed82adec24042d676e (patch) | |
| tree | 6869497bcde00c15fbe2e76a055c70d6368a7200 /data/plugins/language_cpp.lua | |
| parent | 4be8a8b5821e8e34979d8580e71dbc08153986da (diff) | |
| download | lite-xl-4d31b1bc404a56a1160f75ed82adec24042d676e.tar.gz lite-xl-4d31b1bc404a56a1160f75ed82adec24042d676e.zip | |
add toggle-block-comment
Diffstat (limited to 'data/plugins/language_cpp.lua')
| -rw-r--r-- | data/plugins/language_cpp.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index a945fd1f..03554a48 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -10,6 +10,7 @@ syntax.add { "%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$" }, comment = "//", + multiline_comment = { "/*", "*/" }, patterns = { { pattern = "//.-\n", type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" }, |
