This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-25
Channels
- # bangalore-clj (5)
- # beginners (225)
- # boot (36)
- # cider (1)
- # clara (2)
- # cljsjs (1)
- # clojure (76)
- # clojure-belgium (1)
- # clojure-conj (1)
- # clojure-india (4)
- # clojure-italy (5)
- # clojure-korea (1)
- # clojure-russia (22)
- # clojure-spec (35)
- # clojure-uk (52)
- # clojurescript (67)
- # community-development (17)
- # core-logic (2)
- # cursive (2)
- # datascript (28)
- # datomic (44)
- # emacs (1)
- # funcool (3)
- # hoplon (14)
- # lein-figwheel (2)
- # leiningen (2)
- # luminus (3)
- # midje (3)
- # mount (2)
- # nyc (2)
- # om (54)
- # om-next (1)
- # onyx (30)
- # re-frame (57)
- # reagent (19)
- # ring-swagger (23)
- # slack-help (10)
- # spacemacs (2)
- # specter (1)
- # vim (23)
Is there some VIM-clojure-plugin which shows me a navigator tab with all the def’s of the current file? Like NERDTREE only for clojure src files
maybe ctrlp tag plugin
@mx2000 `let g:ctrlp_match_window = 'max:50' let g:ctrlp_match_window_bottom = 0 let g:ctrlp_match_window_reversed = 0 let g:ctrlp_max_files = 1000 let g:ctrlp_max_depth = 10 let g:ctrlp_extensions = ['buffertag'] let g:ctrl_working_path_mode = 'ra' let g:ctrlp_cmd = 'CtrlPMixed' let g:ctrlp_reuse_window = 'netrw\|help\|startify’ “<M > works in neovim noremap <M-t> :CtrlPBufTag<CR> noremap <M-T> :CtrlPBufTagAll<CR> let g:ctrlp_buftag_types = { \'clojure' : '--langmap=Lisp:+.clj' \} `
@mx2000 I had been working on this, but hadn't got it finished. It should be easy to hack together by piping the result of :call session_eval('(ns-publics)')
into unite/ctrlp/denite
It has the benefit of not needing fireplace, which I failed twice a setting up with cljs 😞
@lsenta if that was with figwheel, please try again. Latest version has a patch in which fixes fireplace support
@dominicm should I use the 0.5.9-SNAPSHOT and follow https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl ?
https://github.com/bhauman/lein-figwheel/blob/master/CHANGES.md#058-fix-for-clojure-190-alpha12 anything after this
Which makes it super fragile I guess, on first connect then cpp I get this in my (n)vim:
{'status': ['eval-error', 'done'], 'ex': 'class clojure.lang.ExceptionInfo', 'root-ex': '
class clojure.lang.ExceptionInfo', 'id': 'fireplace-HALIX-1480095253-24', 'session': ['a9
b06372-1eee-4163-9a70-fc74d048230c'], 'err': 'org.mozilla.javascript.EvaluatorException:
Java class "[Ljava.lang.StackTraceElement;" has no public instance field or method named
"cljs$lang$protocol_mask$partition0$". (rhino.clj#41)^@'}
Trying a connect again,
I get a “couldn’t locate —file--.clj” in my replThat error looks like it is from Rhino repl instead of Figwheel browser repl
Piggieback will start a Rhino repl if there is no existing connection or something
Not sure what the logic is
I guess it would make sense to disable that - accidentally opening Rhino repl can cause problems and will block Vim for a few seconds
(Rhino is JS runtime like Node)