mirror of
https://github.com/golang/go
synced 2024-11-21 18:44:45 -07:00
misc/vim: updated syntax file to recognize constants of the form 1e9
R=rsc, adg CC=golang-dev https://golang.org/cl/1864042
This commit is contained in:
parent
fa3d86ca39
commit
2b3508425e
@ -136,7 +136,7 @@ syn region goBlock start="{" end="}" transparent fold
|
||||
syn region goParen start='(' end=')' transparent
|
||||
|
||||
" Integers
|
||||
syn match goDecimalInt "\<\d\+\>"
|
||||
syn match goDecimalInt "\<\d\+\([Ee]\d\+\)\?\>"
|
||||
syn match goHexadecimalInt "\<0x\x\+\>"
|
||||
syn match goOctalInt "\<0\o\+\>"
|
||||
syn match goOctalError "\<0\o*[89]\d*\>"
|
||||
|
Loading…
Reference in New Issue
Block a user