Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bd0e40

Browse files
committed
Number may not start with underscore
1 parent12d0d60 commit9bd0e40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎syntax/python.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ endif
254254
synmatchpythonHexNumber"\<0[xX][0-9a-fA-F_]*[0-9a-fA-F][0-9a-fA-F_]*[lL]\=\>"display
255255
synmatchpythonOctNumber"\<0[oO][0-7_]*[0-7][0-7_]*[lL]\=\>"display
256256
synmatchpythonBinNumber"\<0[bB][01_]*[01][01_]*[lL]\=\>"display
257-
synmatchpythonNumber"\<[0-9_]*[0-9][0-9_]*[lLjJ]\=\>"display
257+
synmatchpythonNumber"\<[0-9][0-9_]*[lLjJ]\=\>"display
258258
synmatchpythonFloat"\.[0-9_]*[0-9][0-9_]*\([eE][+-]\=[0-9_]*[0-9][0-9_]*\)\=[jJ]\=\>"display
259-
synmatchpythonFloat"\<[0-9_]*[0-9][0-9_]*[eE][+-]\=[0-9_]\+[jJ]\=\>"display
260-
synmatchpythonFloat"\<[0-9_]*[0-9][0-9_]*\.[0-9_]*\([eE][+-]\=[0-9_]*[0-9][0-9_]*\)\=[jJ]\="display
259+
synmatchpythonFloat"\<[0-9][0-9_]*[eE][+-]\=[0-9_]\+[jJ]\=\>"display
260+
synmatchpythonFloat"\<[0-9][0-9_]*\.[0-9_]*\([eE][+-]\=[0-9_]*[0-9][0-9_]*\)\=[jJ]\="display
261261
synmatchpythonOctError"\<0[oO]\=[0-7_]*[8-9][0-9_]*[lL]\=\>"display
262262
synmatchpythonBinError"\<0[bB][01_]*[2-9][0-9_]*[lL]\=\>"display
263263

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp