aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/ps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lexers/ps.lua')
-rw-r--r--lua/lexers/ps.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/ps.lua b/lua/lexers/ps.lua
index 4161539..1e2213f 100644
--- a/lua/lexers/ps.lua
+++ b/lua/lexers/ps.lua
@@ -1,4 +1,4 @@
--- Copyright 2006-2022 Mitchell. See LICENSE.
+-- Copyright 2006-2024 Mitchell. See LICENSE.
-- Postscript LPeg lexer.
local lexer = require('lexer')
@@ -44,4 +44,6 @@ lex:add_rule('label', token(lexer.LABEL, '/' * word))
-- Operators.
lex:add_rule('operator', token(lexer.OPERATOR, S('[]{}')))
+lexer.property['scintillua.comment'] = '%'
+
return lex