Merge pull request #223 from lewang/master

define comment-start snippet and some code cleanup
This commit is contained in:
João Távora 2012-03-05 04:17:28 -08:00
commit b392dd3726

View File

@ -878,10 +878,10 @@ 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 ]*"))