Commit a7d3819
authored
fix(lsp): use file_path parameter for mcpls 0.3.4 compatibility (#1537)
mcpls 0.3.4 renamed the path parameter to file_path in get_diagnostics
and get_hover tool calls. Update both lsp_hooks/diagnostics.rs and
lsp_hooks/hover.rs to use the correct parameter name, fixing
ErrorCode(-32602) on every diagnostics-on-save and hover-on-read call.
Closes #15311 parent 6c8e3fc commit a7d3819
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments