我在编写代码时发现 lsp-ui
在我查找补全项时显示了文档而遮挡补全项
我的配置:
(use-package lsp-ui
:after lsp-mode
:bind
(("C-c d" . lsp-ui-peek-find-definitions)
("C-c r" . lsp-ui-peek-find-references))
:custom
((lsp-ui-sideline-show-diagnostics t)
(lsp-ui-sideline-show-hover t)
(lsp-ui-sideline-show-code-actions t)
(lsp-ui-sideline-update-mode nil)
(lsp-ui-sideline-delay 0.2)
(lsp-ui-doc-enable t)
(lsp-ui-doc-position 'at-point)
(lsp-ui-doc-delay 0.2)
(lsp-ui-doc-show-with-cursor t)
(lsp-ui-doc-show-with-mouse nil)
(lsp-ui-imenu-window-width 30)
(lsp-ui-imenu--custom-mode-line-format t)
(lsp-ui-imenu-auto-refresh t)))