From 745270ad3b794c0f03123ec87c481fa779a9267c Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sat, 1 Feb 2020 22:33:19 +0100 Subject: Leave electric-indent-mode enabled in yaml-mode --- lisp/init-yaml.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lisp/init-yaml.el') diff --git a/lisp/init-yaml.el b/lisp/init-yaml.el index 00acdf3..1892108 100644 --- a/lisp/init-yaml.el +++ b/lisp/init-yaml.el @@ -1,11 +1,6 @@ (use-package yaml-mode :mode ;; ansible group_vars and host_vars - ("/\\(group\\|host\\)_vars/" . yaml-mode) - - :config - ;; disable electric indent - (add-hook 'yaml-mode-hook - (lambda () (setq-local electric-indent-mode nil)))) + ("/\\(group\\|host\\)_vars/" . yaml-mode)) (provide 'init-yaml) -- cgit v1.2.3