mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
remove redundant declaration of defaults for snippet-mode
This commit is contained in:
parent
087388e21a
commit
1bfc3793e4
@ -878,10 +878,8 @@ Do this unless `yas/dont-activate' is truish "
|
||||
|
||||
(define-derived-mode snippet-mode text-mode "Snippet"
|
||||
"A mode for editing yasnippets"
|
||||
(set-syntax-table (standard-syntax-table))
|
||||
(setq font-lock-defaults '(yas/font-lock-keywords))
|
||||
(set (make-local-variable 'require-final-newline) nil)
|
||||
(use-local-map snippet-mode-map))
|
||||
(set (make-local-variable 'comment-start) "#")
|
||||
(set (make-local-variable 'comment-start-skip) "#+[\t ]*"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user