Desktop File Support 0.0.16
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 tomarkup.heading
so comments don't make them harder to
see.- Typos like writing
Names
instead ofName
now cause the entire key not to be highlighted,
making typos easier to spot. ;
semi-colons are now scoped asstrong
(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 tomarkup.bold
.
Fixed
- Short arguments (
-l
,-s
) to commands in theExec
key are now highlighted. - When you specify the language of keys such as
Name
andComment
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.