diff options
| author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2025-10-01 12:30:00 +0200 |
|---|---|---|
| committer | Matěj Cepl <mcepl@cepl.eu> | 2025-11-28 03:10:24 +0100 |
| commit | bb94e22d3423fe458de4bc9621379ddebb7fe7e3 (patch) | |
| tree | e74abacfa6de8945caf62e7ca3a2eddbad378e93 /lua/lexers/csharp.lua | |
| parent | 2c127cc425d8d01e865440d1fde598df9dc8471d (diff) | |
| download | vis-bb94e22d3423fe458de4bc9621379ddebb7fe7e3.tar.gz vis-bb94e22d3423fe458de4bc9621379ddebb7fe7e3.tar.xz | |
lua/lexers: synchronization with new release scintillua_6.6
Bugfixes:
- Fixed Pascal numeric literals.
- Fixed folding of HTML/XML comments and XML processing
instructions.
- Fixed incorrectly highlighting '..' range operators between
numbers.
Changes:
- Added Janet and todo.txt lexers.
- Updated Python lexer to recognize t-strings.
- Migrated ini and Dart lexers.
- Updated org lexer word lists.
Diffstat (limited to 'lua/lexers/csharp.lua')
| -rw-r--r-- | lua/lexers/csharp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lexers/csharp.lua b/lua/lexers/csharp.lua index 21bb9e0..954eb7b 100644 --- a/lua/lexers/csharp.lua +++ b/lua/lexers/csharp.lua @@ -50,7 +50,7 @@ lex:add_rule('preprocessor', token(lexer.PREPROCESSOR, '#' * S('\t ')^0 * word_match('define elif else endif error if line undef warning region endregion'))) -- Operators. -lex:add_rule('operator', token(lexer.OPERATOR, S('~!.,:;+-*/<>=\\^|&%?()[]{}'))) +lex:add_rule('operator', token(lexer.OPERATOR, '..' + S('~!.,:;+-*/<>=\\^|&%?()[]{}'))) -- Fold points. lex:add_fold_point(lexer.PREPROCESSOR, 'if', 'endif') |
