yas-also-auto-indent-first-line = nil

Stop yasnippet from aggressively reindenting the whole snippet; assume
the user is expanding the snippet exactly where they want it.

Half-fixes #3211
This commit is contained in:
Henrik Lissner 2020-05-24 13:31:29 -04:00
parent a262527a7f
commit d8fda76c7d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 17 additions and 8 deletions

View file

@ -39,8 +39,6 @@
;; Reduce verbosity. 3 is too chatty about initializing yasnippet. 2 is just
;; right (only shows errors).
(setq yas-verbosity (if doom-debug-mode 3 0))
;; Ensure the snippet is properly indented
(setq yas-also-auto-indent-first-line t)
;; default snippets library, if available
(add-to-list 'load-path +snippets-dir)