-lsp-ui-doc-mode hooks

In hindsight, lsp-ui-mode only makes lsp-mode more intrusive, slow and
buggy. It's better to rely on other Emacs and Doom systems (+lookup* for
example) for some of the stuff that it gives rather than it.
This commit is contained in:
dx
2020-05-17 09:29:17 +01:00
parent 6b3e2a1332
commit 9526e32760

View File

@@ -239,14 +239,6 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys
(statement-cont . +))))
(add-hook 'cc-mode-hook #'(lambda () (interactive) (c-set-style "user"))))
#+END_SRC
** LSP
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
(add-hook 'lsp-mode-hook #'lsp-ui-doc-mode)
(setq lsp-ui-doc-position 'top))
#+END_SRC
** CSharp
- I have custom installed the omnisharp roslyn executable, so I'd rather use
that