diff options
Diffstat (limited to 'lua/lexers/idl.lua')
| -rw-r--r-- | lua/lexers/idl.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/idl.lua b/lua/lexers/idl.lua index 9a2250c..5ba0863 100644 --- a/lua/lexers/idl.lua +++ b/lua/lexers/idl.lua @@ -1,4 +1,4 @@ --- Copyright 2006-2022 Mitchell. See LICENSE. +-- Copyright 2006-2024 Mitchell. See LICENSE. -- IDL LPeg lexer. local lexer = require('lexer') @@ -47,4 +47,6 @@ lex:add_rule('preproc', token(lexer.PREPROCESSOR, lexer.starts_line('#') * -- Operators. lex:add_rule('operator', token(lexer.OPERATOR, S('!<>=+-/*%&|^~.,:;?()[]{}'))) +lexer.property['scintillua.comment'] = '//' + return lex |
