-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
flake8 lintCategoryMap #166
Comments
Can you provide what error-line was outputted? |
@mattn Even if I put logging setting to the setup:
|
What do you get with
|
As expected I get my error from screenshot
|
I am not able to test this at the moment but I think you are missing category in the format string.
You could try |
@atrautsch Thanks a lot. That is cool it uses category now but now it doesn't show the code (which was shown with the original format). |
I do not quite understand how this works but using different combinations from here breaks the diagnostics in most cases :P
|
The idea is that the line I am not sure if it is possible to show the code. It may require a change to efm-langserver which allows formatting the string returned to the LSP client so that it could include parts of the errorformat again. The linters name should be possible with using lintSource or prefix in the configuration. |
@atrautsch Lines 34 to 129 in cf157c6
Would be great to keep error code but if it is not possible at the moment I am ready to close the issue. @mattn Do you have anything to add? |
Still I don't understand what is wrong. Hmm. |
Hello.
I cannot figure out how to setup categories for
flake8
linter.I have the following config:
I've tried to add
block but whatever format I use it leads to
Client 2 quit with exit code 2 and signal 0
And also if it is possible to print linter name in Neovim virtual text besides code and message?
The text was updated successfully, but these errors were encountered: