File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,4 @@ test/scanners
20
20
bench /test.div.html
21
21
diff.html
22
22
etc /CodeRay.tmproj
23
+ * .swp
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def scan_tokens encoder, options
144
144
encoder . end_group :string
145
145
146
146
elsif match = scan ( /#{ RE ::Function } /o )
147
- encoder . begin_group :string
147
+ encoder . begin_group :function
148
148
start = match [ /^\w +\( / ]
149
149
encoder . text_token start , :delimiter
150
150
if match [ -1 ] == ?)
@@ -153,7 +153,7 @@ def scan_tokens encoder, options
153
153
else
154
154
encoder . text_token match [ start . size ..-1 ] , :content
155
155
end
156
- encoder . end_group :string
156
+ encoder . end_group :function
157
157
158
158
elsif match = scan ( /(?: #{ RE ::Dimension } | #{ RE ::Percentage } | #{ RE ::Num } )/ox )
159
159
encoder . text_token match , :float
You can’t perform that action at this time.
0 commit comments