Skip to content

fix(golangci_lint_ls): guard against missing golangci-lint in before_init#4390

Merged
lithammer merged 1 commit intoneovim:masterfrom
ethansaxenian:fix/golangci-lint-ls-before-init
Apr 15, 2026
Merged

fix(golangci_lint_ls): guard against missing golangci-lint in before_init#4390
lithammer merged 1 commit intoneovim:masterfrom
ethansaxenian:fix/golangci-lint-ls-before-init

Conversation

@ethansaxenian
Copy link
Copy Markdown
Contributor

Problem:
before_init errors if golangci-lint is not in $PATH.

Solution:
Return early when the executable is not available to avoid raising an error.

…re_init`

Problem:
`before_init` errors if `golangci-lint` is not in `$PATH`.

Solution:
Return early when the executable is not available to avoid raising an error.
@ethansaxenian ethansaxenian marked this pull request as ready for review April 15, 2026 00:38
@lithammer lithammer merged commit 372c848 into neovim:master Apr 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants