aboutsummaryrefslogtreecommitdiffstats
path: root/oni-lsp.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-10-16 23:26:11 -0700
committerGravatar Tom Willemse2019-10-16 23:28:31 -0700
commit1ac1bedfc6f3fea527adb4f5f2a5ba11199a473c (patch)
tree29a48b9bb0a00f25ffd172ad549af6ce1b03a834 /oni-lsp.el
parent21f57c111e860bc5ca311ec3c309be9a098c18d0 (diff)
downloademacs-config-1ac1bedfc6f3fea527adb4f5f2a5ba11199a473c.tar.gz
emacs-config-1ac1bedfc6f3fea527adb4f5f2a5ba11199a473c.zip
Re-enable ‘lsp-ui-doc-mode’ and enable ‘lsp-lens-mode’
Diffstat (limited to 'oni-lsp.el')
-rw-r--r--oni-lsp.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/oni-lsp.el b/oni-lsp.el
index 6af5ec0..78581a4 100644
--- a/oni-lsp.el
+++ b/oni-lsp.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2019.0904.210643
+;; Version: 2019.1016.231222
;; Package-Requires: (lsp-mode lsp-ui)
;; This program is free software; you can redistribute it and/or modify
@@ -31,8 +31,12 @@
(setq lsp-prefer-flymake nil)
-(setq lsp-ui-doc-enable nil)
+(setq lsp-ui-doc-enable t)
(setq lsp-ui-sideline-enable nil)
+(setq lsp-ui-doc-position 'at-point)
+(setq lsp-ui-doc-delay 1)
+
+(add-hook 'lsp-mode-hook 'lsp-lens-mode)
;;;###autoload(with-eval-after-load 'lsp (require 'oni-lsp))