diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-03 20:53:02 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-03 20:53:02 +0000 |
commit | 952692774707d7730eb1501d6e62cedf42572d77 (patch) | |
tree | ee1786d6eaefeed12d07c04174b496f4811f3cf4 | |
parent | e549dce5556c9550eedf220d247764e84b4879b7 (diff) |
Highlight names with .-_
-rw-r--r-- | sx-question-print.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index eb79a7a..87255d7 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -352,7 +352,7 @@ E.g.: (font-lock-add-keywords ;; Highlight usernames. nil `((,(rx (or blank line-start) - (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol))))) + (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol) (any ".-_"))))) symbol-end) 1 font-lock-builtin-face))) ;; Everything. |