vim-iced
vim-iced copied to clipboard
Does the scope of clj-kondo support include displaying linting results?
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
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
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.
Feel free to reopen this issue :)
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.
@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 :)