-
Notifications
You must be signed in to change notification settings - Fork 89
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
[Bug]: selene
diagnostics not excluding files from selene.toml
config
#120
Comments
@AlejandroSuero This issue has nothing to do with none-ls. You are not using selene exclude correctly (refer to the docs). Also Mixing two linters is by general rule a bad idea. |
@Zeioth according to the documentation, in the excluding files section this is how it is supposed to work. I'm not planning on mixing them (in the minimal I only use one), I am trying to support selene linting for people that don't use luacheck inside a project but want to have the linting diagnostics and have selene already installed, thats all. |
@AlejandroSuero I'm looking at this now. In the future, please make your issue replications way more concise. All you have to do is create any file, ignore it in the selene.toml, and see selene erroneously add diagnostics. We don't need a billion screenshots xd Anyways, this is peculiar. Thanks for the report! |
Asked here- will wait for the response |
@barrett-ruth thanks for looking into it. I think the Also sorry for all the images, was trying to not left nothing out in my reply. |
Wtf... moved the issue over there. Sorry! |
FAQ
Issues
Neovim Version
NVIM v0.9.5 Build type: RelWithDebInfo LuaJIT 2.1.1692716794
Dev Version?
Operating System
MacOS 14.4.1
Minimal Config
Steps to Reproduce
In a testing enviroment (a directory for a lua project), have the following files.
selene.toml
file with the following config:neovim.yml
file with the following config:.luacheckrc
file with the following config:nvim --clean -u minimal_init.lua
and navigate to:e .luacheckrc
Reproducibility Check
minimal_init.lua
template and that my issue is reproducible by runningnvim --clean -u minimal_init.lua
and following the steps above.Expected Behavior
To not display any diagnostics from
selene
inside excluded files.Actual Behavior
Displaying diagnostics from
selene
inside excluded files.Debug Log
Help
No
Implementation Help
No response
Requirements
The text was updated successfully, but these errors were encountered: