mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
add comment definition for snippet-mode
This commit is contained in:
parent
3cd8cbdd12
commit
087388e21a
@ -882,6 +882,8 @@ Do this unless `yas/dont-activate' is truish "
|
|||||||
(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)
|
||||||
(use-local-map snippet-mode-map))
|
(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