befor ei forget

This commit is contained in:
Sakooooo 2023-09-11 13:55:51 +04:00
parent c15812be7a
commit de2f0cce4b
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 12 additions and 13 deletions

View file

@ -368,13 +368,6 @@ make sure to setup authinfo
(setq auth-sources '("~/.authinfo"))
#+end_src
*** Lsp-mode
**** Lsp-Mode hook
#+begin_src emacs-lisp
(defun efs/lsp-mode-setup ()
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
(lsp-headerline-breadcrumb-mode))
:hook (lsp-mode . efs/lsp-mode-setup)
#+end_src
**** Language Servers
#+begin_src emacs-lisp
@ -392,6 +385,13 @@ make sure to setup authinfo
:config
(lsp-enable-which-key-integration t))
#+end_src
**** Better lsp mode ui
#+begin_src emacs-lisp
(use-package lsp-ui
:hook (lsp-mode . lsp-ui-mode)
:custom
(lsp-ui-doc-position 'bottom))
#+end_src
**** Languages
***** Typescript
#+begin_src emacs-lisp

View file

@ -306,12 +306,6 @@
:after magit)
(setq auth-sources '("~/.authinfo"))
(defun efs/lsp-mode-setup ()
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
(lsp-headerline-breadcrumb-mode))
:hook (lsp-mode . efs/lsp-mode-setup)
(defun sakomacs/lsp-mode-setup ()
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
(lsp-headerline-breadcrumb-mode))
@ -326,6 +320,11 @@
:config
(lsp-enable-which-key-integration t))
(use-package lsp-ui
:hook (lsp-mode . lsp-ui-mode)
:custom
(lsp-ui-doc-position 'bottom))
(use-package js2-mode
:mode "\\.js\\'"
:hook (js2-mode . lsp-deferred))