Commit 288797c
authored
Fix document changes version bug (#186)
Should fix incorrect protocol usage causing this bug:
```
LSP[static_ls] LSP: incoming message parse error:
Error in $.params.edit.documentChanges[0]: key "version" not found
when processing
{"id":20,"params":{"kind":"quickfix","edit":{"documentChanges":[{"textDocument":{"uri":"file:///home/eugene/mercury-web-backend/src/Mercury/Underwriting/Internal/Workflows/CollectNabFlaggedTransactions.hs"},"edits":[{"range":{"start":{"line":6,"character"
:21},"end":{"line":7,"character":21}},"newText":""}]}]},"title":"Remove redundant imports in file (1 fix)"},"method":"codeAction/resolve","jsonrpc":"2.0"}
```1 parent bcca365 commit 288797c
1 file changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | | - | |
| 161 | + | |
160 | 162 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
170 | 166 | | |
171 | 167 | | |
172 | | - | |
173 | | - | |
| 168 | + | |
| 169 | + | |
174 | 170 | | |
175 | 171 | | |
176 | 172 | | |
| |||
0 commit comments