diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-03 11:48:51 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-04-03 11:48:51 +0300 |
commit | af5ac96b4d2aa9987fd746a79f1211c19eff0837 (patch) | |
tree | 34fa15b3a2f921cc302c5db981907837001f0b59 /cider-eldoc.el | |
parent | 3354b99797df332431045b21df96051b46bb02a6 (diff) |
Display eldoc for Classname.
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r-- | cider-eldoc.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el index bfca92dd..746dae60 100644 --- a/cider-eldoc.el +++ b/cider-eldoc.el @@ -159,6 +159,9 @@ if the maximum number of sexps to skip is exceeded." (cond ;; handle keywords for map access ((string-prefix-p ":" thing) '(("map") ("map" "not-found"))) + ;; handle Classname. by displaying the eldoc for new + ((string-match-p "^[A-Z].+\\.$" thing) '(("args*"))) + ;; generic case (t (if (equal thing (car cider-eldoc-last-symbol)) (cdr cider-eldoc-last-symbol) (when-let ((eldoc-info (cider-sync-request:eldoc thing))) |