We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec15848 commit efa7e05Copy full SHA for efa7e05
example_file.fy
@@ -110,3 +110,11 @@ pm match_with_extract: "Hello : World!"
110
[3, 2, 1] reverse() each() |a| { puts(a) }
111
"Hello" sub("ll", "y") println
112
[3, 2, 1] map() |a| { a * 2 } inject(0) |s i| { s + i } println
113
+
114
+# test symbol highlighting
115
+['foo]
116
+['foo?!]
117
+{'foo}
118
+{'foo!?}
119
+{'foo:bar?!=&/:}
120
+('foo)
fancy_pygments/fancy_lexer.py
@@ -49,7 +49,7 @@ class FancyLexer(RegexLexer):
49
# Comments
50
(r'#(.*?)\n', Comment.Single),
51
# Symbols
52
- (r'\'([^\'\s\[\]]+|\[\])', String.Symbol),
+ (r'\'([^\'\s\[\]\(\)\{\}]+|\[\])', String.Symbol),
53
# Multi-line DoubleQuotedString
54
(r'"""(\\\\|\\"|[^"])*"""', String),
55
# DoubleQuotedString
0 commit comments