Setting up the java checkstyle linter #180
Feature description
|
Replies: 13 comments 10 replies
You can hook into the linter logic in any way you want
Are there occasions where you want to do this manually? Please describe them.
Sync stuff is not normally what people want, what's the motivation?
Same as above
You can read more about the motivation here :) |
|
@xiaoshihou514 Thank you for responding to my queries first of all.
|
|
Basically, you want to only run checkstyle manually and infrequently, but guard doesn't provide configs for events. |
No what I meant is if I configure java linter like this |
|
This doesn't sound right, I will take a look a bit later. |
Sure |
|
Well... You didn't specify a formatter, so obviously |
Yeah But I configured a linter right. So how do I get it to lint is my doubt. |
|
So there is no way to run a linter without configuring a formatter? Is it possible to provide a |
|
Hey the linter is triggered automatically on these events guard.nvim/lua/guard/filetype.lua Lines 90 to 94 in d5b4a49 Maybe inject a few print statements into the linter to see if your regex is working properly. You can trigger a manual lint refresh by Hope that helps :) |





Done as of
2.0.0