From 8b7e1bc745a62816c7ff4c143a85c1c21e3d06ff Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:17:52 +0000 Subject: [PATCH] emacs stuff --- config/emacs/emacs.org | 11 +++++++++-- config/emacs/init.el | 7 ++++++- 2 files changed, 15 insertions(+), 3 deletions(-) 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\\'"