Support comments in Pandoc templates in Emacs pandoc-template-mode.
This commit is contained in:
parent
25590b1812
commit
733ccbafc6
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@
|
|||
;;; Code:
|
||||
|
||||
(defvar pandoc-template-font-lock-keywords
|
||||
'(("\\(\\$\\)\\(if\\|for\\)(\\([^)]+\\))\\(\\$\\)"
|
||||
'(("\\(\\$--.*\\)$"
|
||||
(1 font-lock-comment-face))
|
||||
("\\(\\$\\)\\(if\\|for\\)(\\([^)]+\\))\\(\\$\\)"
|
||||
(1 font-lock-preprocessor-face)
|
||||
(2 font-lock-keyword-face)
|
||||
(3 font-lock-variable-name-face)
|
||||
|
|
Loading…
Add table
Reference in a new issue