aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_cpp.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-02-10 13:56:02 -0400
committerjgmdev <jgmdev@gmail.com>2022-02-10 13:56:02 -0400
commit2fe45f5acd47d81130fce971d1263a233843fa61 (patch)
treea6573a6104af5ef91c2fbb2b05ecaa052813c0a1 /plugins/language_cpp.lua
parent31cdd5567114df3d2d558411f13ee4ee2f0dfb36 (diff)
downloadlite-xl-plugins-2fe45f5acd47d81130fce971d1263a233843fa61.tar.gz
lite-xl-plugins-2fe45f5acd47d81130fce971d1263a233843fa61.zip
language_cpp: minor correction.
Diffstat (limited to 'plugins/language_cpp.lua')
-rw-r--r--plugins/language_cpp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_cpp.lua b/plugins/language_cpp.lua
index 92af01a..a0eb076 100644
--- a/plugins/language_cpp.lua
+++ b/plugins/language_cpp.lua
@@ -19,7 +19,7 @@ syntax.add {
{ pattern = "-?%d+[%d%.eE]*f?", type = "number" },
{ pattern = "-?%.?%d+f?", type = "number" },
{
- pattern = "#include%s*()<.->",
+ pattern = "#include%s+()<.->",
type = { "keyword", "string" }
},
{ pattern = "[%+%-=/%*%^%%<>!~|&]", type = "operator" },