conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
harryvederci 2021-05-06T07:22:02.087100Z

Do you guys know if there is a way to find all usages of a function, either with Conjure or in some other way? So when the cursor is on a function name, you could quickly see (/ jump to) all places in your code base that refer to that function. (kinda like the opposite of <localleader>gd in Conjure)

Sigve 2021-05-11T09:29:38.097800Z

Cool. Would be interested in seeing your config if you have it online somewhere

1➕
harryvederci 2021-05-11T10:03:57.098200Z

@sigve.nordgaard Maybe I can share it tonight (for me, in ~8 hours), bit busy at the moment and my dotfiles aren't public. Remind me in a private message if I don't respond here myself, in case I forget.

Sigve 2021-05-11T11:22:55.101800Z

No worries, i don't need it for anything specific right now:)

Sigve 2021-05-06T07:36:12.088800Z

@mail089 i use clojure-lsp for this exact use case via coc (`coc-references`), although any LSP client will probably do

1👍
dharrigan 2021-05-06T07:40:00.089500Z

another thing I do, which only works in a local file, is to use vim vista, to find all function references and jump to (it uses universal ctags underneath)

dharrigan 2021-05-06T07:40:15.089800Z

can be handy if your namespace is big 🙂

harryvederci 2021-05-06T08:08:17.092600Z

Thanks! @dharrigan I had some issues with ctags in the past, but I’ll keep it in mind! @sigve.nordgaard I’ll try clojure-lsp with coc-references, as I’m already using coc :thumbsup:

Kailash K 2021-05-06T20:43:35.094200Z

👋 , I’m trying to run my tests with <localleader>tn but that doesn’t seem to help; am I missing something obvious?

Sigve 2021-05-07T13:38:56.095200Z

Are you sure the buffer is loaded?

Olical 2021-05-10T20:07:48.096Z

Thanks for offering help, all 🙂 if you can provide a little more context such as what Sigve mentioned I'll try my best to help you work it out. Also if you're using Clojure or ClojureScript will help narrow things down, potentially.

2021-05-06T20:47:58.094400Z

[Olical/conjure] Issue opened by semperos

1✔️
emilaasa 2021-05-06T20:51:16.094500Z

What sort of tests do you have?

emilaasa 2021-05-06T20:52:14.094700Z

It works for me with: • repl connection • clojure.test

Kailash K 2021-05-06T20:54:24.095Z

clojure.test