Commit 2b350842 authored by Petar Maymounkov's avatar Petar Maymounkov Committed by Andrew Gerrand

misc/vim: updated syntax file to recognize constants of the form 1e9

R=rsc, adg
CC=golang-dev
https://golang.org/cl/1864042
parent fa3d86ca
......@@ -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*\>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment