summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-10-07 16:21:30 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2016-10-07 16:21:30 +0300
commitb19ca9a8b0002b7194a3e01e45b4340116924f66 (patch)
treeb87412f4bad07c4ae74622091b94ce57a30f9903 /cider-eldoc.el
parent360daba09dc32d9f6208fac105285f5c8f3aed6c (diff)
Convert cider-eldoc-max-num-sexps-to-skip to a defcustom
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index 5b66d15b..d07839b3 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -44,8 +44,11 @@
(defvar cider-extra-eldoc-commands '("yas-expand")
"Extra commands to be added to eldoc's safe commands list.")
-(defvar cider-eldoc-max-num-sexps-to-skip 30
- "The maximum number of sexps to skip while searching the beginning of current sexp.")
+(defcustom cider-eldoc-max-num-sexps-to-skip 30
+ "The maximum number of sexps to skip while searching the beginning of current sexp."
+ :type 'integer
+ :group 'cider
+ :package-version '(cider . "0.10.1"))
(defvar-local cider-eldoc-last-symbol nil
"The eldoc information for the last symbol we checked.")