aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-08 13:20:17 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-08 13:20:59 +0000
commitc66f8cc69a8341d3780ffd273c6db1302b102164 (patch)
tree8221c5dc27b766e4cbc4f94b4f13112623449da6 /doom.d/modules
parent4ea8e2b7f2e15cbb4db7f626c34864209b23b98c (diff)
downloaddotfiles-c66f8cc69a8341d3780ffd273c6db1302b102164.tar.gz
dotfiles-c66f8cc69a8341d3780ffd273c6db1302b102164.tar.bz2
dotfiles-c66f8cc69a8341d3780ffd273c6db1302b102164.zip
+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.
Diffstat (limited to 'doom.d/modules')
-rw-r--r--doom.d/modules/config.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org
index f012982..3d895ae 100644
--- a/doom.d/modules/config.org
+++ b/doom.d/modules/config.org
@@ -176,6 +176,14 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys
(label . 0)
(statement-cont . +)))))
#+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
** CSharp
- I have custom installed the omnisharp roslyn executable, so I'd rather use