Skip to content

Go: improved support for literal numbers, add unicode escape characters and new predefined type

Jonathan Poelen requested to merge jpoelen/syntax-highlighting:go into master
  • add binary (0b) and octal (0o) prefix
  • add hedecimal float format (0x1.fp-2)
  • add imaginary suffix (123i)
  • add digit separator (1_2_3)
  • add any and comparable keyword type
  • add little Unicode escapes ('\uHHHH') and big Unicode escapes ('\uHHHHHHHH')

BUG: 459291

Merge request reports