aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/lilypond.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lexers/lilypond.lua')
-rw-r--r--lua/lexers/lilypond.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/lilypond.lua b/lua/lexers/lilypond.lua
index 9fca571..9c3515b 100644
--- a/lua/lexers/lilypond.lua
+++ b/lua/lexers/lilypond.lua
@@ -1,4 +1,4 @@
--- Copyright 2006-2022 Robert Gieseke. See LICENSE.
+-- Copyright 2006-2024 Robert Gieseke. See LICENSE.
-- Lilypond LPeg lexer.
-- TODO Embed Scheme; Notes?, Numbers?
@@ -27,4 +27,6 @@ lex:add_rule('comment', token(lexer.COMMENT, lexer.to_eol('%')))
-- Operators.
lex:add_rule('operator', token(lexer.OPERATOR, S("{}'~<>|")))
+lexer.property['scintillua.comment'] = '%'
+
return lex