Skip to content

Commit 3cec19b

Browse files
committed
Allow whitespace and , in preprocessor. Fixes #1
1 parent a553a3f commit 3cec19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rust.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
</dict>
108108
<dict>
109109
<key>match</key>
110-
<string>^(\w\(\w\)*!)|(#\[[\w=\(\)_]+\])$</string>
110+
<string>^(\w\(\w\)*!)|(#\[[\w=\(,\s\)_]+\])$</string>
111111
<key>name</key>
112112
<string>comment.block.preprocessor.rust</string>
113113
</dict>

0 commit comments

Comments
 (0)