diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index d8d24954..f858dacd 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -383,8 +383,15 @@ make sure to setup authinfo #+end_src **** Better lsp mode ui #+begin_src emacs-lisp -(use-package lsp-ui - :hook (lsp-mode . lsp-ui-mode)) + (use-package lsp-ui + :hook (lsp-mode . lsp-ui-mode) + :custom + (lsp-ui-doc-position 'bottom)) +#+end_src +**** Treemacs Lsp +#+begin_src emacs-lisp + (use-package lsp-treemacs + :after lsp) #+end_src **** Languages ***** Typescript diff --git a/config/emacs/init.el b/config/emacs/init.el index 8e744b13..2cbef4eb 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -319,7 +319,12 @@ (lsp-enable-which-key-integration t)) (use-package lsp-ui - :hook (lsp-mode . lsp-ui-mode)) + :hook (lsp-mode . lsp-ui-mode) + :custom + (lsp-ui-doc-position 'bottom)) + +(use-package lsp-treemacs + :after lsp) (use-package js2-mode :mode "\\.js\\'"