Commit 52f6bf2
committed
Allow null in prepareRename
According to the specification, `textDocument/prepareRename` returns
either a range or null. The latter indicates that the rename request is
not valid at this location.
Wrap ResponseResult TextDocumentPrepareRename into a Maybe to accomodate
this.1 parent cedf0a4 commit 52f6bf2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments