aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-09 20:45:11 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-09 20:45:11 +0000
commit255c7597e96f57d9e359b072ae690de682074ff6 (patch)
tree87e3878e6fe368bc52b162d5b8e08f16906ad6d6
parent1e45f2818a820cf14305819f4226f121414c23b2 (diff)
downloaddotfiles-255c7597e96f57d9e359b072ae690de682074ff6.tar.gz
dotfiles-255c7597e96f57d9e359b072ae690de682074ff6.tar.bz2
dotfiles-255c7597e96f57d9e359b072ae690de682074ff6.zip
~lsp-mode -> lsp-ui
lsp-mode already has a hook for lsp-ui. So I'll just add a hook to lsp-ui for lsp-ui-doc.
-rw-r--r--doom.d/modules/config.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org
index 5cd6500..2106f81 100644
--- a/doom.d/modules/config.org
+++ b/doom.d/modules/config.org
@@ -188,9 +188,8 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys
Add lsp-ui-doc-mode to lsp-ui-mode: allows you to see documentation in a little
VSCode style web-kit window.
#+BEGIN_SRC elisp
-(after! lsp-mode
- (add-hook 'lsp-mode-hook #'(lambda () (lsp-ui-doc-mode +1))))
(after! lsp-ui
+ (add-hook 'lsp-ui-hook #'lsp-ui-doc-mode)
(setq lsp-ui-doc-position 'top))
#+END_SRC
** CSharp