Update lsp-mode for package changes
This commit is contained in:
parent
bb152ad383
commit
9e410f5c64
1 changed files with 2 additions and 2 deletions
|
@ -38,11 +38,11 @@
|
|||
|
||||
(require 'lsp-ui)
|
||||
(require 'company-lsp)
|
||||
(require 'lsp-imenu)
|
||||
(require 'lsp-ui-imenu)
|
||||
|
||||
(push 'company-lsp company-backends)
|
||||
(add-hook 'lsp-mode-hook 'lsp-ui-mode)
|
||||
(add-hook 'lsp-after-open-hook 'lsp-enable-imenu)
|
||||
(add-hook 'lsp-after-open-hook 'lsp-ui-enable-imenu)
|
||||
|
||||
(define-key lsp-ui-mode-map [remap xref-find-definitions] #'lsp-ui-peek-find-definitions)
|
||||
(define-key lsp-ui-mode-map [remap xref-find-references] #'lsp-ui-peek-find-references)
|
||||
|
|
Loading…
Reference in a new issue