+lsp config

LSP config that triggers lsp-ui-doc-mode when lsp is loaded. Also sets
lsp-ui-doc-position to top because it's really annoying to see it pop up
on cursor.
This commit is contained in:
AChavali
2020-02-08 13:20:17 +00:00
parent 4ea8e2b7f2
commit c66f8cc69a

View File

@@ -176,6 +176,14 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys
(label . 0) (label . 0)
(statement-cont . +))))) (statement-cont . +)))))
#+END_SRC #+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-mode
(add-hook 'lsp-mode-hook #'(lambda () (lsp-ui-doc-mode +1))))
(after! lsp-ui
(setq lsp-ui-doc-position 'top))
#+END_SRC #+END_SRC
** CSharp ** CSharp
- I have custom installed the omnisharp roslyn executable, so I'd rather use - I have custom installed the omnisharp roslyn executable, so I'd rather use