Update emacs.org
This commit is contained in:
parent
1b744fb0d4
commit
75c2a53e0b
1 changed files with 11 additions and 10 deletions
|
@ -599,17 +599,18 @@ make sure to setup authinfo
|
||||||
*** Lsp-mode
|
*** Lsp-mode
|
||||||
**** Language Servers
|
**** Language Servers
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun sakomacs/lsp-mode-setup ()
|
(defun sakomacs/lsp-mode-setup ()
|
||||||
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
(lsp-headerline-breadcrumb-mode))
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands (lsp lsp-deferred)
|
:commands (lsp lsp-deferred)
|
||||||
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
:init
|
:init
|
||||||
(setq lsp-keymap-prefix "C-c l")
|
(setq lsp-keymap-prefix "C-c l")
|
||||||
:config
|
:config
|
||||||
(lsp-enable-which-key-integration t))
|
(lsp-enable-which-key-integration t)
|
||||||
|
(setq lsp-keep-workspace-alive nil))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Lsp-ui
|
**** Lsp-ui
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue