FIX check if lein is installed before calling cider deps
This commit is contained in:
parent
5d2d44f8ce
commit
0556d0fc3a
|
@ -4349,6 +4349,8 @@ Since I use vi mode in my terminal emulator, need to preserve the escape key's r
|
|||
#+end_src
|
||||
**** cider
|
||||
#+begin_src emacs-lisp
|
||||
(nd/when-bin "lein"
|
||||
:pacman "leiningen"
|
||||
(evil-define-key '(normal insert) cider-repl-mode-map
|
||||
(kbd "C-k") 'cider-repl-previous-input
|
||||
(kbd "C-j") 'cider-repl-next-input)
|
||||
|
@ -4363,7 +4365,7 @@ Since I use vi mode in my terminal emulator, need to preserve the escape key's r
|
|||
"gh" #'lispy-left
|
||||
"gl" #'lispy-flow
|
||||
"gj" #'lispy-down
|
||||
"gk" #'lispy-up)
|
||||
"gk" #'lispy-up))
|
||||
#+end_src
|
||||
** local
|
||||
These are for mode-specific bindings that can/should be outside of the evil maps above (there are not many, and these may be merged with their evil bretheren in the future).
|
||||
|
@ -4494,6 +4496,8 @@ They removed the underscore-inserts-arrow feature. Bring it back.
|
|||
#+END_SRC
|
||||
*** clojure
|
||||
#+begin_src emacs-lisp
|
||||
(nd/when-bin "lein"
|
||||
:pacman "leiningen"
|
||||
(require 'cider-connection)
|
||||
|
||||
(defun nd/cider-switch-to-repl-or-start (&optional set-ns)
|
||||
|
@ -4516,7 +4520,7 @@ They removed the underscore-inserts-arrow feature. Bring it back.
|
|||
|
||||
(with-eval-after-load 'cider-repl-mode
|
||||
(nd/hydra-standard-int cider-repl-mode-map
|
||||
(:shell-kill . cider-quit)))
|
||||
(:shell-kill . cider-quit))))
|
||||
#+end_src
|
||||
*** python
|
||||
:PROPERTIES:
|
||||
|
|
Loading…
Reference in New Issue