Fork me on GitHub
#vim
<
2019-09-10
>
dominicm20:09:55

If it works for you, a review approval would be a useful contribution.

borkdude20:09:17

@dominicm Thank you so much! Should I wait for a nudge from @chase-lambert before merge?

Chase20:09:17

ok, I'm here. Give me a quick second to figure out what I'm looking at.

Chase20:09:04

one quick note, it looks like https://github.com/w0rp/ale has now redirected to https://github.com/dense-analysis/ale . interesting

Chase20:09:58

ok, so I have clj-kondo installed and I have ale installed. now, instead of following the instructions that @borkdude has currently under vim I should be doing what this pull request says instead? which is create a clj-kondo.vim file with that inputted code? Not sure I know how to parse this github markdown(?)

Chase20:09:03

should we move this to a thread?

Chase20:09:48

ok, so just to update, I have clj kondo installed using the instructions he currently has and it is working great. ALE doesn't seem to be interfering with my coc.nvim auto completion and floating window doc goodness!

Chase20:09:47

So now I'm just looking to have ALE (and therefore) the clj-kondo linter off by default. Then a quick command will turn it on and then back off (which I'll set to a keyboard shortcut with my leader key).

dominicm20:09:08

The intention was that you would use this instead of ALE

dominicm20:09:26

I don't like ALE, I'm teetotal

Chase20:09:55

so I can have linting goodness without ALE at all and have coc.nvim like I already have it with your auto completion goodness?!

dominicm20:09:28

I do not like ALE become such a horrible explosive mess

Chase20:09:43

perfect, that is what I want. Ok, so let me uninstall ALE and try to figure out what you are showing me.

dominicm20:09:04

I think you can do something on the pr to review the rendered markdown

Chase20:09:48

ok, found that button, yep

Chase20:09:17

so I think I have it working! So right now I have to run :compiler clj-kondo and then :make every time I start it up, right? So that's what I'll create shortcuts for?

Chase20:09:39

or actually, use this vim-dispatch with it's single command and get it async and with the quickfix window. Is that how you do it?

dominicm21:09:03

The compiler thing only needs running once

dominicm21:09:01

Kondo is so fast, I've never really cared about the async part of dispatch with it. But the combined command is very useful

Chase21:09:01

yeah I'm loving the combined command. Already have it mapped to leader-l (l for linting!) Thank you so much @dominicm. And thank you @borkdude, I think the pull request is clear to go as far as I can tell. If I can understand it, probably means anyone can, lol

Chase21:09:19

cool. thanks again fellas

Chase21:09:28

so @dominicm, what's your work flow with this? Are you using C-w j to move down into that quickfix box and then navigate to the hints from there? Do you have a shortcut setup to close it without moving to it?

dominicm21:09:25

I use romainl's vim-qf. Which basically has some slightly easier mappings to :cnext etc

Chase21:09:22

awesome, I'll check it out