~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.
This commit is contained in:
AChavali
2020-02-09 20:45:11 +00:00
parent 1e45f2818a
commit 255c7597e9

View File

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