diff options
Diffstat (limited to 'lua/lexers/protobuf.lua')
| -rw-r--r-- | lua/lexers/protobuf.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/protobuf.lua b/lua/lexers/protobuf.lua index df08d9f..c3c4368 100644 --- a/lua/lexers/protobuf.lua +++ b/lua/lexers/protobuf.lua @@ -1,4 +1,4 @@ --- Copyright 2016-2022 David B. Lamkins <david@lamkins.net>. See LICENSE. +-- Copyright 2016-2024 David B. Lamkins <david@lamkins.net>. See LICENSE. -- Protocol Buffer IDL LPeg lexer. -- <https://developers.google.com/protocol-buffers/> @@ -43,4 +43,6 @@ lex:add_rule('number', token(lexer.NUMBER, lexer.number)) -- Operators. lex:add_rule('operator', token(lexer.OPERATOR, S('<>=|;,.()[]{}'))) +lexer.property['scintillua.comment'] = '//' + return lex |
