Skip to content

TOML: add number prefix, inf, nan and more datetime format ; fix multi-strings closing

  • Remove Normal Text style (not used)
  • add 0x, 0o and 0o number prefix
  • add more datetime format
  • fix multi-string closing with """"", """", ''''' and ''''
  • several consecutive values are not considered as 2 values

before:

a = 001
    ^ Int
a = 12.12+123
    ^ Float
         ^ Int
a = "abc""abc"
    ^ String

after:

a = 001
    ^ Int
     ^ Key
a = 12.12+123
    ^ Float
         ^ Error
          ^ Key
a = "abc""abc"
    ^ String
         ^ Key

Highlighting in Key visually gives a problem.

BUG: 462178

Merge request reports