Skip to content

Commit dfdf6c3

Browse files
committed
build plist
1 parent d8827ce commit dfdf6c3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Syntaxes/Lua.plist

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,13 @@
114114
</dict>
115115
<dict>
116116
<key>match</key>
117-
<string>(?&lt;![\w\d.])0[xX][0-9A-Fa-f]+(\.[0-9A-Fa-f]+)?([eE]-?\d*)?([pP][-+]\d+)?</string>
117+
<string>(?&lt;![\w\d.])0[xX][0-9A-Fa-f]+(\.[0-9A-Fa-f]*)?([eE]-?\d*)?([pP][-+]\d+)?</string>
118+
<key>name</key>
119+
<string>constant.numeric.float.hexadecimal.lua</string>
120+
</dict>
121+
<dict>
122+
<key>match</key>
123+
<string>(?&lt;![\w\d.])0[xX]\.[0-9A-Fa-f]+([eE]-?\d*)?([pP][-+]\d+)?</string>
118124
<key>name</key>
119125
<string>constant.numeric.float.hexadecimal.lua</string>
120126
</dict>
@@ -126,7 +132,13 @@
126132
</dict>
127133
<dict>
128134
<key>match</key>
129-
<string>(?&lt;![\w\d.])\d+(\.\d+)?([eE]-?\d*)?</string>
135+
<string>(?&lt;![\w\d.])\d+(\.\d*)?([eE]-?\d*)?</string>
136+
<key>name</key>
137+
<string>constant.numeric.float.lua</string>
138+
</dict>
139+
<dict>
140+
<key>match</key>
141+
<string>(?&lt;![\w\d.])\.\d+([eE]-?\d*)?</string>
130142
<key>name</key>
131143
<string>constant.numeric.float.lua</string>
132144
</dict>

0 commit comments

Comments
 (0)