diff options
author | Peter Oliver <git@mavit.org.uk> | 2021-05-25 21:35:38 +0100 |
---|---|---|
committer | Peter Oliver <git@mavit.org.uk> | 2021-05-25 21:35:38 +0100 |
commit | 4d56ab25fd045297912d783280a55a15dcbd95e8 (patch) | |
tree | aea3a7f256383b0b8ee229585afa2f97817d35b2 | |
parent | 1926ae7021a2f8e842ad566a49f3a947c02cec92 (diff) | |
download | desktop-file-utils-4d56ab25fd045297912d783280a55a15dcbd95e8.tar.gz |
desktop-entry-mode.el: highlight action groups when id includes hyphens
Hypens are legal characters in identifiers.
-rw-r--r-- | misc/desktop-entry-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/desktop-entry-mode.el b/misc/desktop-entry-mode.el index 4a44cdd..618ad05 100644 --- a/misc/desktop-entry-mode.el +++ b/misc/desktop-entry-mode.el @@ -168,7 +168,7 @@ "Expression for matching deprecated desktop entry keys.") (defconst desktop-entry-group-header-re - "^\\[\\(X-[^\][]+\\|\\(?:Desktop \\(?:Entry\\|Action [a-zA-Z]+\\)\\)\\)\\]" + "^\\[\\(X-[^\][]+\\|\\(?:Desktop \\(?:Entry\\|Action [a-zA-Z-]+\\)\\)\\)\\]" "Regular expression for matching desktop entry group headers.") (defconst desktop-entry-font-lock-keywords |