Add font-locking for report-issue-mode buffers
This commit is contained in:
parent
6e6732c9b5
commit
419a0331ab
|
@ -270,7 +270,7 @@ defer call using `spacemacs-post-user-config-hook'."
|
|||
(buffer-substring-no-properties
|
||||
(point-min)
|
||||
(min (point-max) 1000)))
|
||||
"BACKTRACE IF RELEVANT"))
|
||||
"<<BACKTRACE IF RELEVANT>>"))
|
||||
(last-keys
|
||||
(if (and arg (y-or-n-p (concat "Do you really want to "
|
||||
"include your last pressed keys? It "
|
||||
|
@ -301,12 +301,14 @@ that the issue has been created successfully, you can close this buffer.
|
|||
Markdown syntax is supported in this buffer.
|
||||
|
||||
\\{spacemacs/report-issue-mode-map}
|
||||
")
|
||||
"
|
||||
(font-lock-add-keywords 'spacemacs/report-issue-mode
|
||||
'(("\\(<<.*?>>\\)" . 'font-lock-comment-face))))
|
||||
|
||||
(define-key
|
||||
spacemacs/report-issue-mode-map
|
||||
(kbd "C-c C-c")
|
||||
'spacemacs//report-issue-done)
|
||||
(define-key spacemacs/report-issue-mode-map
|
||||
(kbd "C-c C-c") 'spacemacs//report-issue-done)
|
||||
(define-key spacemacs/report-issue-mode-map
|
||||
(kbd "C-c C-k") 'kill-buffer)
|
||||
|
||||
(with-eval-after-load 'bind-map
|
||||
(spacemacs/set-leader-keys-for-major-mode 'spacemacs/report-issue-mode
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
<PLEASE REPLACE ALL UPPERCASE EXPRESSIONS AND DELETE THIS LINE>
|
||||
<<REPLACE ALL UPPERCASE EXPRESSIONS AND DELETE THIS LINE, `C-C C-C` TO SUBMIT>>
|
||||
#### Description
|
||||
DESCRIPTION OF THE PROBLEM
|
||||
<<DESCRIPTION OF THE PROBLEM>>
|
||||
|
||||
#### Reproduction guide
|
||||
- Start Emacs
|
||||
- REPRODUCTION STEPS
|
||||
- <<REPRODUCTION STEPS>>
|
||||
|
||||
*Observed behaviour:*
|
||||
DESCRIPTION OF THE OBSERVED BEHAVIOUR
|
||||
<<DESCRIPTION OF THE OBSERVED BEHAVIOUR>>
|
||||
|
||||
*Expected behaviour:*
|
||||
DESCRIPTION OF THE EXPECTED BEHAVIOUR
|
||||
<<DESCRIPTION OF THE EXPECTED BEHAVIOUR>>
|
||||
|
||||
(%LAST_KEYS%)
|
||||
|
||||
%SYSTEM_INFO%
|
||||
|
||||
#### Backtrace
|
||||
|
|
Loading…
Reference in New Issue