From 4e45666f34a69dce616f7f38853286d69cfcf23c Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 12 Aug 2022 22:38:44 +0200 Subject: Add python IDE expirience --- Emacs.org | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Emacs.org b/Emacs.org index 359b5a4..4bbcb0f 100644 --- a/Emacs.org +++ b/Emacs.org @@ -36,6 +36,9 @@ - [[#org-margin][Org margin]] - [[#org-superstar][Org superstar]] - [[#development][Development]] + - [[#languages][Languages]] + - [[#lsp][Lsp]] + - [[#python][Python]] - [[#projectile][Projectile]] - [[#keybinds][Keybinds]] - [[#magit][Magit]] @@ -419,6 +422,36 @@ #+end_src * Development +** Languages +*** Lsp + +#+begin_src emacs-lisp + + (use-package lsp-mode + :commands (lsp lsp-deferred) + :init + (setq lsp-diagnostic-package :none) + (setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l' + :config + (lsp-enable-which-key-integration t)) + + (use-package lsp-ivy + :after lsp) + +#+end_src + +*** Python + +#+begin_src emacs-lisp + + (use-package python-mode + :hook (python-mode . lsp-deferred)) + + (use-package pyvenv + :after python-mode) + +#+end_src + ** Projectile -- cgit v1.2.3