diff --git a/configs/base-lsp.el b/configs/base-lsp.el index bcaf7c5..8785ab0 100644 --- a/configs/base-lsp.el +++ b/configs/base-lsp.el @@ -80,12 +80,16 @@ (use-package lsp-ui :defer t :straight t - :bind (("" . lsp-ui-doc-glance)) + :bind (:map lsp-mode-map + ("" . lsp-ui-doc-glance)) :hook (lsp-mode . lsp-ui-mode) :init (setq lsp-ui-sideline-show-diagnostics nil lsp-ui-sideline-ignore-duplicate t + lsp-ui-doc-show-with-cursor nil + lsp-ui-doc-show-with-mouse nil + lsp-ui-doc-position 'at-point lsp-ui-doc-delay 0.1 lsp-ui-imenu-colors `(,(face-foreground 'font-lock-keyword-face) ,(face-foreground 'font-lock-string-face)