aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/logtalk.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lexers/logtalk.lua')
-rw-r--r--lua/lexers/logtalk.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/logtalk.lua b/lua/lexers/logtalk.lua
index e33e80a..ffa7595 100644
--- a/lua/lexers/logtalk.lua
+++ b/lua/lexers/logtalk.lua
@@ -1,4 +1,4 @@
--- Copyright © 2017-2022 Michael T. Richter <ttmrichter@gmail.com>. See LICENSE.
+-- Copyright © 2017-2024 Michael T. Richter <ttmrichter@gmail.com>. See LICENSE.
-- Logtalk LPeg lexer.
local lexer = require('lexer')
@@ -59,4 +59,6 @@ local operators = {
}
lex:modify_rule('operator', token(lexer.OPERATOR, word_match(operators)) + lex:get_rule('operator'))
+lexer.property['scintillua.comment'] = '%'
+
return lex