Repository navigation
Match dependabot.yaml files in language server - #2026
Merged
Merged
Conversation
The language server understands that Dependabot files match
**/.github/dependabot.{yml,yaml}, however later on we check for
dependabot.yml explicitly, thus excluding dependabot.yaml files.
We add dependabot.yaml as a file name to match against in the same
manner as our matches for action.yml or action.yaml.
This has been tested in Neovim with the standard nvim-lspconfig
settings, using
vim.lsp.config("zizmor", {
cmd = {"/path/to/zizmor/target/debug/zizmor", "--lsp"}
})
to override the executable.
Closes: #2025
woodruffw
approved these changes
May 16, 2026
Member
|
Thank you @fionn! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The language server understands that Dependabot files match
**/.github/dependabot.{yml,yaml}, however later on we check fordependabot.ymlexplicitly, thus excludingdependabot.yamlfiles.We add
dependabot.yamlas a file name to match against in the same manner as our matches foraction.ymloraction.yaml.This has been tested in Neovim with the standard
nvim-lspconfigsettings, usingto override the executable.
Closes: #2025
Pre-submission checks
Please check these boxes:
Mandatory: This PR corresponds to an issue (if not, please create
one first).
Having read the AI policy, I hereby disclose the use of an LLM or other
AI coding assistant in the creation of this PR. PRs will not be rejected
for using AI tools, but will be rejected for undisclosed use or
use that violates the policy.
If a checkbox is not applicable, you can leave it unchecked.