* yasnippet.el (snippet-mode): Derive from prog-mode.

This commit is contained in:
Noam Postavsky 2018-01-01 15:45:11 -05:00
parent 04062d8b4f
commit d806b04fc0

View File

@ -952,7 +952,7 @@ Honour `yas-dont-activate-functions', which see."
;;;###autoload
(define-derived-mode snippet-mode text-mode "Snippet"
(define-derived-mode snippet-mode prog-mode "Snippet"
"A mode for editing yasnippets"
(setq font-lock-defaults '(yas--font-lock-keywords))
(set (make-local-variable 'require-final-newline) nil)