diff options
Diffstat (limited to 'lua/lexers/batch.lua')
| -rw-r--r-- | lua/lexers/batch.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/batch.lua b/lua/lexers/batch.lua index 5468a1d..71e98b4 100644 --- a/lua/lexers/batch.lua +++ b/lua/lexers/batch.lua @@ -1,4 +1,4 @@ --- Copyright 2006-2022 Mitchell. See LICENSE. +-- Copyright 2006-2024 Mitchell. See LICENSE. -- Batch LPeg lexer. local lexer = require('lexer') @@ -50,4 +50,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('+|&!<>='))) -- Fold points. lex:add_fold_point(lexer.KEYWORD, 'setlocal', 'endlocal') +lexer.property['scintillua.comment'] = 'REM ' + return lex |
