Dont call eglot by python mode

This commit is contained in:
Marcus Kammer 2023-02-06 09:20:35 +01:00
parent d7859ce3a5
commit d452bbebcb

View file

@ -131,8 +131,7 @@
:mode (("\\.py\\'" . python-mode) :mode (("\\.py\\'" . python-mode)
("\\.wsgi$" . python-mode) ("\\.wsgi$" . python-mode)
("\\.j2" . python-mode)) ("\\.j2" . python-mode))
:hook ((python-mode . abbrev-mode) :hook (python-mode . abbrev-mode)
(python-mode . eglot-ensure))
:init :init
(setq python-indent-offset 4) (setq python-indent-offset 4)
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)