Move decimal back below float. Turns out order is important.
My order broke the coloring of floats because it was coloring the whole and decimal separately.
This commit is contained in:
parent
802f478a1c
commit
02cbad8603
1 changed files with 7 additions and 7 deletions
|
@ -70,13 +70,6 @@
|
||||||
<string>constant.numeric.integer.octal.python</string>
|
<string>constant.numeric.integer.octal.python</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
<dict>
|
|
||||||
<key>match</key>
|
|
||||||
<string>\b([1-9]+[0-9_]*|0)</string>
|
|
||||||
<key>name</key>
|
|
||||||
<string>constant.numeric.integer.decimal.python</string>
|
|
||||||
</dict>
|
|
||||||
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>match</key>
|
<key>match</key>
|
||||||
<string>\b(?i:(((\d+(\.(?=[^a-zA-Z_])\d*)?|(?<=[^0-9a-zA-Z_])\.\d+)(e[\-\+]?\d+)?))J)</string>
|
<string>\b(?i:(((\d+(\.(?=[^a-zA-Z_])\d*)?|(?<=[^0-9a-zA-Z_])\.\d+)(e[\-\+]?\d+)?))J)</string>
|
||||||
|
@ -105,6 +98,13 @@
|
||||||
<string>constant.numeric.float.python</string>
|
<string>constant.numeric.float.python</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
||||||
|
<dict>
|
||||||
|
<key>match</key>
|
||||||
|
<string>\b([1-9]+[0-9_]*|0)</string>
|
||||||
|
<key>name</key>
|
||||||
|
<string>constant.numeric.integer.decimal.python</string>
|
||||||
|
</dict>
|
||||||
|
|
||||||
<dict>
|
<dict>
|
||||||
<key>captures</key>
|
<key>captures</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
|
Loading…
Reference in a new issue