aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/csharp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lexers/csharp.lua')
-rw-r--r--lua/lexers/csharp.lua2
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')