mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00
* yasnippet.el (snippet-mode): Derive from prog-mode.
This commit is contained in:
parent
04062d8b4f
commit
d806b04fc0
@ -952,7 +952,7 @@ Honour `yas-dont-activate-functions', which see."
|
|||||||
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-derived-mode snippet-mode text-mode "Snippet"
|
(define-derived-mode snippet-mode prog-mode "Snippet"
|
||||||
"A mode for editing yasnippets"
|
"A mode for editing yasnippets"
|
||||||
(setq font-lock-defaults '(yas--font-lock-keywords))
|
(setq font-lock-defaults '(yas--font-lock-keywords))
|
||||||
(set (make-local-variable 'require-final-newline) nil)
|
(set (make-local-variable 'require-final-newline) nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user