Fork me on GitHub
#vim
<
2019-10-17
>
dominicm13:10:08

@clojurians-slack100 @martinklepsch are you using vim-clojure-highlight? I'm thinking I might fork it into clojure-vim, but I'd like to have someone who's actively using it who will fix things as they encounter them.

dominicm13:10:27

(I'd also extend push rights to the author of the currently working fork, I just can't remember their slack username!)

martinklepsch13:10:04

I have it installed but I’m not sure if it’s doing anything lol

dominicm13:10:38

πŸ˜„ well, if you'd like it to do something...

dominicm13:10:56

I think there's something broken on the current fork that mostly works, @clojurians-slack100 had a tweak to get it working..

walterl13:10:33

@dominicm I only learned about it a few days ago when it was discussed in here. I'm using it day-to-day, but I consider it still in a "trying it out" phase. So far, on the smallish projects I've been working on lately, it has been quite helpful. But didn't someone also mention that it adds quite a delay on larger projects? If that's the case, it may (unfortunately) not stay in my init.vim. While I'm using it, I don't mind having a look at issues that I encounter, but I'm no VimL expert, and I usually approach these things by weighing time invested against need/urgency/usefulness.

walterl13:10:54

Btw, the fix I mentioned is in my comment on the PR: https://github.com/guns/vim-clojure-highlight/pull/7. I.e. it's applicable to jrdoane/vim-clojure-highlight and not guns/vim-clojure-highlight

dominicm14:10:14

@clojurians-slack100 I was hoping someone might take interest in adding async support πŸ™‚

dominicm14:10:37

https://github.com/clojure-vim/async-clj-highlight?organization=clojure-vim&amp;organization=clojure-vim clojure-vim already has an async fork πŸ™‚ I don't think it works with fireplace though

walterl14:10:13

That's a bit beyond my current capabilities

dominicm17:10:31

thinking about it, vim-clojure-highlight might be the wrong approach to take. cider-nrepl has something to query the state.

dominicm17:10:41

Maybe I can write this into replant.

walterl17:10:28

IMHO, the "best" approach to adding Clojure IDE functionality to vim, is fireplace (or something similar) + CIDER via nrepl, because of the much better established tools on the CIDER/Emacs side. So I prefer using CIDER stuff over pure vim plugins, like you're suggesting @dominicm

dominicm17:10:52

Yeah πŸ™‚ I advocate for that too

dominicm17:10:02

no point reinventing the wheel

walterl17:10:34

Especially when it's a really complicated wheel, and already invented really well elsewhere πŸ˜‰

dominicm17:10:36

might be a cool option to use clj-kondo's analysis data for highlighting though

dominicm17:10:41

then it would work without a repl πŸ™‚

dominicm17:10:54

and it would work in cljs (which track state doesn't)

dominicm17:10:11

oh, it does. I'm lying.

dominicm17:10:22

track state is probably better and more specialized then.