mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
editor/snippets: yas-triggers-in-field = nil
Made TAB (move to next field) unpredictably expand sub-snippets.
This commit is contained in:
@ -21,7 +21,7 @@
|
|||||||
:config
|
:config
|
||||||
(setq yas-verbosity (if doom-debug-mode 3 0)
|
(setq yas-verbosity (if doom-debug-mode 3 0)
|
||||||
yas-also-auto-indent-first-line t
|
yas-also-auto-indent-first-line t
|
||||||
yas-triggers-in-field t ; Allow nested snippets
|
yas-triggers-in-field nil ; disallow nested snippets
|
||||||
;; Remove default ~/.emacs.d/snippets
|
;; Remove default ~/.emacs.d/snippets
|
||||||
yas-snippet-dirs (delete yas--default-user-snippets-dir yas-snippet-dirs))
|
yas-snippet-dirs (delete yas--default-user-snippets-dir yas-snippet-dirs))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user