Skip to content
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

fix(keymaps): no diagnostic keymaps w/o lsp attached #1698

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

lkhphuc
Copy link
Contributor

@lkhphuc lkhphuc commented Oct 13, 2023

Sometime, a buffer has a linter but does not have lsp attached (e.g bash/zsh file with shellcheck only). Some diagnostic keymaps are not available in those case since they are registered with LSP only.

I propose to move diagnostic keymaps to the more general keymaps file similar to formatting and inlay_hint functionality.

@lkhphuc lkhphuc changed the title fix(lint): no diagnostic keymaps w/o lsp attached fix(keymaps): no diagnostic keymaps w/o lsp attached Oct 13, 2023
@folke folke merged commit 873ff89 into LazyVim:main Oct 13, 2023
3 checks passed
@folke
Copy link
Collaborator

folke commented Oct 13, 2023

Makes sense. Thanks!

@lkhphuc lkhphuc deleted the diagnostic branch October 14, 2023 07:07
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.

None yet

2 participants