Commit 0df939c
authored
fix(oxc_laguage_server): code actions if report range overlap request (oxc-project#8902)
Requesting code actions in neovim's normal mode doesn't return any code
action, as the report range isn't fully contained in the requested range
- which is only the current cursor position. Filtering based on overlap
seems to be done by most relevant language servers (based on my tesing)
- such as `rust-analyzer` or `ts_ls`. `eslint` filters code actions
based on intercepted lines.1 parent 2d06260 commit 0df939c
1 file changed
+6
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
| |||
579 | 576 | | |
580 | 577 | | |
581 | 578 | | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
| 579 | + | |
| 580 | + | |
590 | 581 | | |
0 commit comments