lazyvim/lua
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
..
lazyvim fix(lsp): handle errors and add missing client filters (#6900) 2026-03-16 01:04:37 -07:00