Merge pull request #4032 from wilx/master

pandoc-template-mode: Comments auto-fill and HTML attributes highlighting fixes.
This commit is contained in:
John MacFarlane 2017-11-02 23:03:30 -04:00 committed by GitHub
commit 22389fdda5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,9 +52,13 @@
;;;###autoload
(define-derived-mode pandoc-template-mode fundamental-mode "Pandoc-Template"
"A major mode for editing Pandoc-Template files."
:syntax-table nil
:syntax-table text-mode-syntax-table
(setq-local font-lock-defaults
'(pandoc-template-font-lock-keywords)))
'(pandoc-template-font-lock-keywords))
(setq-local comment-start "$--")
(setq-local comment-start-skip "\\$--[ \t]*")
(setq-local comment-end "")
(setq-local comment-end-skip "[ \t]*$"))
(provide 'pandoc-template-mode)
;;; pandoc-template.el ends here