Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
karolinepauls opened this issue Jul 30, 2021 · 5 comments
Labels

Comments

@karolinepauls
Copy link

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?

@liquidz
Copy link
Owner

liquidz commented Jul 30, 2021

@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

@karolinepauls
Copy link
Author

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.

@liquidz
Copy link
Owner

liquidz commented Dec 28, 2021

Feel free to reopen this issue :)

@liquidz liquidz closed this as completed Dec 28, 2021
@D00mch
Copy link

D00mch commented Apr 4, 2022

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.

@liquidz
Copy link
Owner

liquidz commented Apr 4, 2022

@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 liquidz reopened this Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants