aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-lsp.el8
1 files 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 <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))