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