-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 Ruby linter with Steep #4671
Add Ruby linter with Steep #4671
Conversation
2e74504
to
5e84dea
Compare
endfunction | ||
|
||
" Handle output from steep | ||
function! ale_linters#ruby#steep#HandleOutput(buffer, lines) abort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a complex handler function. Add a test for this too. There's a directory for testing functions for handling results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I will!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should finally be able to get back to complete this within a few weeks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"a few weeks" heh. On it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@w0rp I have rebased and added the handler test.
This pull request has been automatically marked as stale because it has not been updated recently. Make sure to write tests and document your changes. See |
LSP presents a few issues and this works around those.
5e84dea
to
b220b41
Compare
Hmm, test failure on Appveyor because of Windows paths:
|
Noticed the separator was off for Windows, which would break the replacement and made a fix, but it insists on having
Really tough to efficiently debug this as I don't have a Windows setup at hand. |
@w0rp there were a few corner-case bugs but it's all fixed and test-covered now. WDYT, good to merge? |
Hmm, missed that one locally, will fix:
Huh what? Not even whitespace appear to differ.
EDIT: from raw logs:
|
Difference here is the sorting order. In supported-tools.md
|
Oh my, thanks @hsanson! Just pushed fixes for the remaining bits. Let's see if CI is green now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution and patience.
Continuation of #4376
Fixes #3254
Working on it (trying to run the test docker thingy).Added tests (inspired by Rubocop ones)