diff options
| author | Harsh Kapse <harshkapse1234@gmail.com> | 2026-01-30 20:04:42 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-30 15:34:42 +0100 |
| commit | 36db6ff2c128864840e2820491a2172d6b1b7e62 (patch) | |
| tree | c5013a53ed07b437ab2a587762f772583b6a5a69 /test/functional/vimscript/executable_spec.lua | |
| parent | 47ce93ad6d71625df7298b69b4c6ed74977889ab (diff) | |
| download | rneovim-36db6ff2c128864840e2820491a2172d6b1b7e62.tar.gz rneovim-36db6ff2c128864840e2820491a2172d6b1b7e62.tar.bz2 rneovim-36db6ff2c128864840e2820491a2172d6b1b7e62.zip | |
fix(lsp): use LSP textEdit range for completion start boundary (#37491)
Previously, adjust_start_col returned nil when completion items had
different start position from lsp textEdit range
This caused the completion to fall back to \k*$ which ignores the
non-keyword characters
Changes:
- adjust_start_col: now returns the minimum start postion among all
items instead of nil
- _lsp_to_complete_items - normalizes the items by adding the gap between
current and minimum start
Fixes: https://github.com/neovim/neovim/issues/37441
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions