-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add support for linters with non-zero exit codes and read from stderr #109
Comments
Thanks for the attention! I am aware of this (#68). What I planned was separating some of the I am (hopefully) going to work on this after the autocmd pr gets merged. |
Oh and |
Just found that A |
Yep, #150 should solve all of these :) |
closes #68 #86 #123 #109 #76 #141 #111 ## changes - [x] remove uv.spawn wrapper in favour of vim.system - [x] `do_lint` now respects *all* config fields - [x] linter can now use lnum_end and col_end - [x] added step by step tutorial for advanced usage - [x] remove all version checking code, only supports 0.10+ from now on - [x] apply exepath fix for windows ## internal changes - [x] events now contains truly all autocmd related functions - [x] utils now contains execution checking functions - [x] use custom simpler table copy
First of all, thanks for the awesome plugin.
I am trying to add the markdownlint-cli linter to guard.nvim. I encountered two issues:
guard.nvim
does not support non-zero exit codes andmarkdownlint
uses other exit codes.markdownlint
outputs linter errors (diagnostics) tostderr
, andguard.nvim
discards this stream.markdownlint
does not have an error severity, so theattributes.severity
key cannot be specified in thelint.from_json
function.Are you planning to support linters with this behaviour? I attempted to fix this adding a
valid_error_codes
tool option and other changes in the commit gontzalm@ea99961.Now the linter is working with the options
The text was updated successfully, but these errors were encountered: