Cleanup/add lsp ui config
This commit is contained in:
parent
d4c758d6dd
commit
4913ce8045
@ -460,10 +460,13 @@
|
||||
company-lsp-cache-candidates t))
|
||||
|
||||
(use-package lsp-ui :ensure
|
||||
:bind (:map lsp-ui-mode-map
|
||||
([remap xref-find-definitions] . lsp-ui-peek-find-definitions)
|
||||
([remap xref-find-references] . lsp-ui-peek-find-references))
|
||||
:hook (lsp-mode . lsp-ui-mode)
|
||||
:config
|
||||
(setq lsp-ui-sideline-ignore-duplicate t
|
||||
lsp-ui-sideline-update-mode 'point)
|
||||
(add-hook 'lsp-mode-hook 'lsp-ui-mode))
|
||||
lsp-ui-sideline-update-mode 'point))
|
||||
|
||||
(use-package lsp-python
|
||||
;; requires python-language-server and/or python2-language-server
|
||||
|
Loading…
Reference in New Issue
Block a user