-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Feat] Add stylua
diagnostics
#9
Labels
enhancement
New feature or request
Comments
I would like to keep formatters as format-only in this repository. If you really need this, please submit this to none-ls-extras. |
@mochaaP I get what you are saying. What do you think is missing to be able to show the diagnostic on the buffer? I get the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issues
Feature description
Using the command
stylua --check
you can get diagnostic about the format style using stylua.Help
Yes
Implementation help
Inside
lua/null-ls/builtins/diagnostics
, I would create a filestylua.lua
with the following implementation.Note
I don't know exactly how the diagnostics implementation works 100%.
The command to use would be:
Command in action on project
Note
When trying this configuration, I didn't get to show the diagnostics
:NullLsInfo
:NullLsLog
The text was updated successfully, but these errors were encountered: