From 640eca56f45ddae9026222b619047c0f9c490b2e Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Fri, 10 Sep 2021 19:21:21 +0200 Subject: [PATCH] emacs: Tried python settings --- emacs/.config/doom/config.el | 10 ++++++++++ emacs/.config/doom/init.el | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 99df48a..dfb8805 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -100,6 +100,16 @@ (message "Dictionary switched from %s to %s" dic change) )) +;; Python settings +;; (add-hook 'python-mode-hook (lambda () + ;; (setq flycheck-checker 'python-pylint))) + +;; (add-hook 'pyhon-mode-local-vars-hook +;; (lambda () +;; (when (flycheck-may-enable-checker 'lsp) +;; (flycheck-select-checker 'python-pylint)))) + + ;; (autoload 'matlab-mode "matlab" "Matlab Editing Mode" t) ;; (add-to-list ;; 'auto-mode-alist diff --git a/emacs/.config/doom/init.el b/emacs/.config/doom/init.el index c9ed14f..2703008 100644 --- a/emacs/.config/doom/init.el +++ b/emacs/.config/doom/init.el @@ -151,7 +151,7 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - (python +lsp) ; beautiful is better than ugly + (python +lsp +pyright) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6