Add lsp-ivy
This commit is contained in:
parent
bb231392df
commit
5a7233a45b
1 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2019.1021.004102
|
||||
;; Package-Requires: (lsp-mode lsp-ui)
|
||||
;; Version: 2020.0225.101321
|
||||
;; Package-Requires: (lsp-mode lsp-ui lsp-ivy)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -27,6 +27,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'lsp)
|
||||
(require 'lsp-ivy)
|
||||
(require 'lsp-ui)
|
||||
|
||||
(defun oni-lsp-show-doc ()
|
||||
|
@ -50,6 +51,9 @@
|
|||
(setq lsp-ui-doc-enable nil)
|
||||
(setq lsp-ui-sideline-enable nil)
|
||||
|
||||
(define-key lsp-mode-map (kbd "C-c s") 'lsp-ivy-workspace-symbol)
|
||||
(define-key lsp-mode-map (kbd "C-c S") 'lsp-ivy-global-workspace-symbol)
|
||||
|
||||
(add-hook 'lsp-mode-hook 'lsp-lens-mode)
|
||||
|
||||
;;;###autoload(with-eval-after-load 'lsp (require 'oni-lsp))
|
||||
|
|
Loading…
Reference in a new issue