Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ With [[https://github.com/dimitri/el-get][el-get]] you can install helm-clojure
:type github
:pkgname "prepor/helm-clojure"
:features helm-clojure
:depends (s dash cider helm yasnippet))
:depends (s dash cider helm yasnippet smartparens))
#+END_SRC
** References insertion
helm-clojure is smart enough to insert references with regard of the current namespace.
Expand Down
5 changes: 4 additions & 1 deletion helm-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
(require 's)
(require 'dash)

(require 'yasnippet)
(require 'smartparens)

(defun helm--get-string-from-file (filePath)
"Return filePath's file content."
(with-temp-buffer
Expand Down Expand Up @@ -92,7 +95,7 @@
(concat (plist-get c :ns) "/" (plist-get c :symbol)))

(defun helm-clojure-jump (c)
(cider-jump-to-var (helm-clojure-candidate-to-sym c))
(cider-jump-to-var 0 (helm-clojure-candidate-to-sym c))
(helm-highlight-current-line))

(defun helm-clojure-doc (c)
Expand Down