Update emacs.org

This commit is contained in:
Sako 2023-10-18 12:51:01 +04:00 committed by GitHub
parent 1b744fb0d4
commit 75c2a53e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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