Skip to content

Desktop File Support 0.0.16

Compare
Choose a tag to compare
@nico-castell nico-castell released this 19 Jul 17:35
· 16 commits to main since this release
b289b3d

Release 0.0.16

This release remaps some of the scoping of the syntax highlighting, while fixing some bad behaviour.

Changelog

Added

  • Files that end with the .theme extension are now opened as desktop entries.
  • The CursorTheme key was added for index.theme files.

Changed

  • [Desktop Entry] lines are now mapped to markup.heading so comments don't make them harder to
    see.
  • Typos like writing Names instead of Name now cause the entire key not to be highlighted,
    making typos easier to spot.
  • ; semi-colons are now scoped as strong (it's up to the theme to highlight them).
  • Changed the rules for % arguments in the value of the Exec key, they're now scoped to
    variable.language, and they only highlight values allowed by the
    specification
  • Changed the textmate scope of freedesktop recognized categories for the Categories key. They're
    now scoped to markup.bold.

Fixed

  • Short arguments (-l, -s) to commands in the Exec key are now highlighted.
  • When you specify the language of keys such as Name and Comment by using [], you no longer
    need to type the = operator to have syntax highlighting.
  • Removed patterns that weren't useful.
  • The categories recognized by freedesktop are no longer highlighted outside the Categories key.