diff options
| author | Tom Willemse <tom@ryuslash.org> | 2014-12-10 01:26:15 +0100 |
|---|---|---|
| committer | Tom Willemse <tom@ryuslash.org> | 2014-12-10 01:26:15 +0100 |
| commit | 3b0414e4212f9b007a507cf21320e40a3346c48a (patch) | |
| tree | a5eed203c9e9904cef795870c92c65f8e93835d5 /evil-macros.el | |
| parent | c127c26485d8ad6e75f4776d9e5ce1fd5ceeeb77 (diff) | |
Fontify entire name, not just up to first `-'
Fontify the entire name after a call to `evil-(ex-)define-*' instead of
just up to the first non-word character. Symbol characters are also
valid parts of names.
Diffstat (limited to 'evil-macros.el')
| -rw-r--r-- | evil-macros.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-macros.el b/evil-macros.el index fd38ff8..16d2429 100644 --- a/evil-macros.el +++ b/evil-macros.el @@ -717,7 +717,7 @@ via KEY-VALUE pairs. BODY should evaluate to a list of values. ;; and does not match all three-letter words.) '(("(\\(evil-\\(?:ex-\\)?define-\ \\(?:[^ k][^ e][^ y]\\|[-[:word:]]\\{4,\\}\\)\\)\ -\\>[ \f\t\n\r\v]*\\(\\sw+\\)?" +\\>[ \f\t\n\r\v]*\\(\\(?:\\sw\\|\\s_\\)+\\)?" (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) ("(\\(evil-\\(?:delay\\|narrow\\|signal\\|save\\|with\\(?:out\\)?\\)\ |
