Add yasnippet mode, enable in more modes
This commit is contained in:
+2
-2
@@ -450,9 +450,9 @@ On the fly syntax checking.
|
|||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:defer t
|
:defer t
|
||||||
:hook
|
:hook
|
||||||
((org-mode
|
((fundamental-mode
|
||||||
prog-mode
|
prog-mode
|
||||||
tex-mode)
|
text-mode)
|
||||||
. yas-minor-mode)
|
. yas-minor-mode)
|
||||||
:custom
|
:custom
|
||||||
(yas-prompt-functions '(yas-ido-prompt
|
(yas-prompt-functions '(yas-ido-prompt
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: mode
|
||||||
|
# key: <mode
|
||||||
|
# --
|
||||||
|
# -*- mode: ${1:conf} -*-
|
||||||
Reference in New Issue
Block a user