From 26ba297e95f6ef5479012ed867a72481c3ec64f4 Mon Sep 17 00:00:00 2001 From: josiah Date: Thu, 27 Jan 2022 08:36:21 -0600 Subject: [PATCH] Fix indent issue with python yasnippets --- .emacs.d/jlj-generic.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/jlj-generic.el b/.emacs.d/jlj-generic.el index dd752c4..765c28f 100644 --- a/.emacs.d/jlj-generic.el +++ b/.emacs.d/jlj-generic.el @@ -71,7 +71,8 @@ :ensure t :config (yas-minor-mode-on) - (yas-global-mode 1)) + (yas-global-mode 1) + (add-hook 'python-mode-hook '(lambda () (set (make-local-variable 'yas-indent-line) 'fixed))))