We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cbf6b commit 1838753Copy full SHA for 1838753
python3.0.vim
@@ -211,7 +211,7 @@ syn match pythonHexNumber "\<0[xX]\x\+\>" display
211
syn match pythonOctNumber "\<0[oO]\o\+\>" display
212
syn match pythonBinNumber "\<0[bB][01]\+\>" display
213
214
-syn match pythonNumber "\<0\>" display
+syn match pythonNumber "\<\d\>" display
215
syn match pythonNumber "\<[1-9]\d\+\>" display
216
syn match pythonNumber "\<\d\+[jJ]\>" display
217
syn match pythonNumberError "\<0\d\+\>" display
test.py
@@ -50,7 +50,7 @@ class Класс
50
51
# Numbers
52
53
-0 0x1f .3 12.34 0j 0j 34.2E-3 0b10 0o77
+0 1 2 9 10 0x1f .3 12.34 0j 0j 34.2E-3 0b10 0o77
54
55
# Erroneous numbers
56
0 commit comments