aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/forth.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lexers/forth.lua')
-rw-r--r--lua/lexers/forth.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/forth.lua b/lua/lexers/forth.lua
index 9a1e6df..e1ad8f6 100644
--- a/lua/lexers/forth.lua
+++ b/lua/lexers/forth.lua
@@ -1,4 +1,4 @@
--- Copyright 2006-2022 Mitchell. See LICENSE.
+-- Copyright 2006-2024 Mitchell. See LICENSE.
-- Forth LPeg lexer.
-- Contributions from Joseph Eib.
@@ -53,4 +53,6 @@ lex:add_rule('number', token(lexer.NUMBER, P('-')^-1 * lexer.digit^1 * (S('./')
-- Operators.
lex:add_rule('operator', token(lexer.OPERATOR, S(':;<>+*-/[]#')))
+lexer.property['scintillua.comment'] = '\\'
+
return lex