From 5a7233a45b25f1ac43ef8e650563b2431e38c956 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 25 Feb 2020 10:17:54 -0800 Subject: [PATCH] Add lsp-ivy --- oni-lsp.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/oni-lsp.el b/oni-lsp.el index 6b11ea5..eff199b 100644 --- a/oni-lsp.el +++ b/oni-lsp.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; 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))