Skip to content
  • Роман Донченко's avatar
    yaml.lang: improve the highlighting of quoted strings · a9c777c9
    Роман Донченко authored and Christian Hergert's avatar Christian Hergert committed
    * Allow them to be multiline.
    
    * Add highlighting for escape sequences. This necessitates splitting
      the "string" context into "single-quoted-string" and
      "double-quoted-string", as the escaping rules are different.
    
    * Allow empty quoted strings ("") to be highlighted correctly. The previous
      end regex prevented the closing quote in this case to be recognized
      as such, as it required it to be preceded by at least one character.
    a9c777c9