diff options
Diffstat (limited to 'Emacs.org')
| -rw-r--r-- | Emacs.org | 33 |
1 files changed, 33 insertions, 0 deletions
| @@ -36,6 +36,9 @@ | |||
| 36 | - [[#org-margin][Org margin]] | 36 | - [[#org-margin][Org margin]] |
| 37 | - [[#org-superstar][Org superstar]] | 37 | - [[#org-superstar][Org superstar]] |
| 38 | - [[#development][Development]] | 38 | - [[#development][Development]] |
| 39 | - [[#languages][Languages]] | ||
| 40 | - [[#lsp][Lsp]] | ||
| 41 | - [[#python][Python]] | ||
| 39 | - [[#projectile][Projectile]] | 42 | - [[#projectile][Projectile]] |
| 40 | - [[#keybinds][Keybinds]] | 43 | - [[#keybinds][Keybinds]] |
| 41 | - [[#magit][Magit]] | 44 | - [[#magit][Magit]] |
| @@ -419,6 +422,36 @@ | |||
| 419 | #+end_src | 422 | #+end_src |
| 420 | 423 | ||
| 421 | * Development | 424 | * Development |
| 425 | ** Languages | ||
| 426 | *** Lsp | ||
| 427 | |||
| 428 | #+begin_src emacs-lisp | ||
| 429 | |||
| 430 | (use-package lsp-mode | ||
| 431 | :commands (lsp lsp-deferred) | ||
| 432 | :init | ||
| 433 | (setq lsp-diagnostic-package :none) | ||
| 434 | (setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l' | ||
| 435 | :config | ||
| 436 | (lsp-enable-which-key-integration t)) | ||
| 437 | |||
| 438 | (use-package lsp-ivy | ||
| 439 | :after lsp) | ||
| 440 | |||
| 441 | #+end_src | ||
| 442 | |||
| 443 | *** Python | ||
| 444 | |||
| 445 | #+begin_src emacs-lisp | ||
| 446 | |||
| 447 | (use-package python-mode | ||
| 448 | :hook (python-mode . lsp-deferred)) | ||
| 449 | |||
| 450 | (use-package pyvenv | ||
| 451 | :after python-mode) | ||
| 452 | |||
| 453 | #+end_src | ||
| 454 | |||
| 422 | 455 | ||
| 423 | ** Projectile | 456 | ** Projectile |
| 424 | 457 | ||
