Setup a Python IDE
This commit is contained in:
parent
49aa0b2506
commit
e75470eb20
2 changed files with 22 additions and 0 deletions
|
|
@ -77,3 +77,23 @@
|
|||
:custom
|
||||
(ivy-mode 1)
|
||||
(ivy-count-format "(%d/%d) "))
|
||||
|
||||
(use-package company
|
||||
:init (global-company-mode))
|
||||
|
||||
(use-package lsp-mode
|
||||
:init
|
||||
(setq lsp-keymap-prefix "C-z l"))
|
||||
|
||||
(use-package flymake
|
||||
:straight (:type built-in)
|
||||
:bind (:map flymake-mode-map
|
||||
("C-c C-n" . flymake-goto-next-error)
|
||||
("C-c C-p" . flymake-goto-prev-error)
|
||||
("C-c C-l" . flymake-show-diagnostics-buffer)))
|
||||
|
||||
(use-package python
|
||||
:bind (:map python-mode-map
|
||||
("C-c C-p" . nil)
|
||||
("C-c C-l" . nil))
|
||||
:hook ((python-mode . lsp)))
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ htop \
|
|||
ibus-mozc \
|
||||
keepassxc \
|
||||
mpv \
|
||||
python3-flake8 \
|
||||
python3-pylsp \
|
||||
sway \
|
||||
swayidle \
|
||||
swaylock \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue