From 34b64374016344e6aeda888cc8fb63164428664d Mon Sep 17 00:00:00 2001 From: Nathanael Cunningham Date: Sat, 18 Apr 2015 00:46:21 -0400 Subject: [PATCH] Added to require calls for yasnippet and smartparens. Fixed a bug with cider-jump-to-var taking a nother arg. Added smartparens to el-get recipe. --- README.org | 2 +- helm-clojure.el | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 33ef095..9f9a4c6 100644 --- a/README.org +++ b/README.org @@ -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. diff --git a/helm-clojure.el b/helm-clojure.el index 6e0afe1..f944768 100644 --- a/helm-clojure.el +++ b/helm-clojure.el @@ -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 @@ -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)