Add imenu to lsp-ui
This commit is contained in:
parent
051f3007bb
commit
c8b71004ee
@ -160,7 +160,8 @@
|
||||
(progn
|
||||
(setq-default ispell-program-name "aspell")
|
||||
(setq-default ispell-extra-args '("--sug-mode=ultra")))
|
||||
(setq-default ispell-program-name "ispell")))
|
||||
(setq-default ispell-program-name "ispell"))
|
||||
(unbind-key "C-M-i" flyspell-mode-map))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Commands.
|
||||
|
@ -61,14 +61,19 @@
|
||||
|
||||
(use-package lsp-mode
|
||||
:commands lsp
|
||||
:config (require 'lsp-clients))
|
||||
:config
|
||||
(require 'lsp-clients))
|
||||
|
||||
(use-package lsp-ui
|
||||
:commands lsp-ui-mode
|
||||
:bind (("C-M-i" . lsp-ui-imenu))
|
||||
:config
|
||||
(setq lsp-ui-doc-enable nil)
|
||||
(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))
|
||||
|
||||
(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))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Company - complete anything.
|
||||
|
Reference in New Issue
Block a user