mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(snippets): disable prog-mode snippets from yasnippet-snippets
The prog-mode snippets are very basic, a bit a annoying, as they contain a couple of single-character snippets which conflict with common variable names in Go.
This commit is contained in:
@@ -14,7 +14,13 @@
|
||||
(yas-global-mode))
|
||||
|
||||
(use-package yasnippet-snippets
|
||||
:after yasnippet)
|
||||
:after yasnippet
|
||||
|
||||
:config
|
||||
(let ((skip-file (expand-file-name "prog-mode/.yas-skip"
|
||||
yasnippet-snippets-dir)))
|
||||
(when (not (file-exists-p skip-file))
|
||||
(make-empty-file skip-file t))))
|
||||
|
||||
(provide 'siren-yasnippet)
|
||||
;;; siren-yasnippet.el ends here
|
||||
|
||||
Reference in New Issue
Block a user