lazyvim/lua/lazyvim
Your Name 56f0bb258e fix(lsp): handle errors and add missing client filters (#6900)
- Add nil-check when no LSP client is found matching the filter
- Add error handling with pcall for exec_cmd failures
- Add client filter to typescript.goToSourceDefinition and typescript.findAllFileReferences
- Show warning notification when command execution fails or client not found

This fixes the issue where LSP commands would fail silently or cause crashes when
executing on unfiltered clients, and where irrelevant LSP clients (like Copilot)
would report errors for unsupported commands.
2026-03-16 01:04:37 -07:00
..
config chore(main): release 15.14.0 (#6738) 2026-03-01 10:37:36 +01:00
plugins fix(lsp): handle errors and add missing client filters (#6900) 2026-03-16 01:04:37 -07:00
util fix(lsp): handle errors and add missing client filters (#6900) 2026-03-16 01:04:37 -07:00
health.lua feat(treesitter): add installation instructions to get a C compiler on windows 2025-10-15 08:42:05 +02:00
init.lua fix: add shim for vim.uv just in case someone upgrades lazyvim before lazy 2024-03-22 10:30:35 +01:00
types.lua style: better types for vim.api.nvim_create_autocmd 2024-06-07 23:02:47 +02:00