vim-iced icon indicating copy to clipboard operation
vim-iced copied to clipboard

Does the scope of clj-kondo support include displaying linting results?

Open karolinepauls opened this issue 3 years ago • 5 comments

I followed the steps in https://liquidz.github.io/vim-iced/vim-iced.html#g%3Aiced_enable_clj_kondo_analysis. I set:

let g:iced_enable_clj_kondo_analysis = v:true
let g:iced_enable_clj_kondo_local_analysis = v:true

I was expecting to see linting errors when saving Clojure files with syntax errors. That didn't happen. I could see the cached files though. It looks like clj-kondo is only used internally for better IcedDefJump, etc.

Is it true that running clj-kondo as a linter isn't and will never be a goal and users should configure linters though other plugins?

karolinepauls avatar Jul 30 '21 17:07 karolinepauls

@karolinepauls

Is it true that running clj-kondo as a linter isn't and will never be a goal and users should configure linters though other plugins?

Right. We had a linting functionality, but it is removed because linting is not a role of vim-iced I think. #159

I'm using coc.nvim for linting with clj-kondo. https://github.com/clj-kondo/clj-kondo/blob/master/doc/editor-integration.md#cocnvim

liquidz avatar Jul 30 '21 19:07 liquidz

Thanks for your answer.

I must be a dino for still using Syntastic.

I'd like to add a note to the docs that the kondo integration is an internal thing and not a user-facing linter, for this reason the task is still valid after the question has been answered.

karolinepauls avatar Aug 03 '21 14:08 karolinepauls

Feel free to reopen this issue :)

liquidz avatar Dec 28 '21 21:12 liquidz

May be it should be mirrored to the docs because it wasn't obvious. I set up clj-kondo with this instruction from clj-kondo, but before I spend like 15 minutes trying to figure it out with vim-iced only.

D00mch avatar Apr 04 '22 12:04 D00mch

@Liverm0r Thanks for your suggestion!

May be it should be mirrored to the docs because it wasn't obvious.

Indeed. I'll add documents for this. If you have a time, you can submit a PR if you like :)

liquidz avatar Apr 04 '22 21:04 liquidz