Merge pull request #27 from Normangorman/range_highlighting_fix
modify number matching regex to fix #26
This commit is contained in:
commit
cb6d4e34eb
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ if nim_highlight_numbers == 1
|
|||
" numbers (including longs and complex)
|
||||
syn match nimNumber "\v<0x\x+(\'(i|I|f|F|u|U)(8|16|32|64))?>"
|
||||
syn match nimNumber "\v<[0-9_]+(\'(i|I|f|F|u|U)(8|16|32|64))?>"
|
||||
syn match nimNumber "\v\.[0-9_]+([eE][+-]=[0-9_]+)=>"
|
||||
syn match nimNumber "\v[0-9]\.[0-9_]+([eE][+-]=[0-9_]+)=>"
|
||||
syn match nimNumber "\v<[0-9_]+(\.[0-9_]+)?([eE][+-]?[0-9_]+)?(\'(f|F)(32|64))?>"
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue