1
0
Fork 0

Add lsp-ivy

This commit is contained in:
Tom Willemse 2020-02-25 10:17:54 -08:00
parent bb231392df
commit 5a7233a45b

View file

@ -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))