summaryrefslogtreecommitdiff
path: root/config/init-lsp.el
diff options
context:
space:
mode:
Diffstat (limited to 'config/init-lsp.el')
-rw-r--r--config/init-lsp.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/init-lsp.el b/config/init-lsp.el
index c92eb36..d7eda93 100644
--- a/config/init-lsp.el
+++ b/config/init-lsp.el
@@ -26,6 +26,13 @@
;; uses https://github.com/nix-community/nixd for the LSP server instead of rnix
(add-to-list 'eglot-server-programs '(nix-mode . ("nixd"))))
+(use-package eldoc-box
+ :ensure t
+ :hook
+ (eglot-managed-mode . eldoc-box-hover-mode)
+ :custom
+ (eldoc-box-max-pixel-width 1024))
+
(provide 'init-lsp)
;;; init-lsp.el ends here