Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(lsp): fix omnicomplete in middle of the line (#25787) | Lajos Koszti | 2023-10-26 |
| | | | | | | | | Fixes a regression from 5e5f5174e3faa862a9bc353aa7da41487911140b Until that commit we had a logic like this: `local prefix = startbyte and line:sub(startbyte + 1) or line_to_cursor:sub(word_boundary)` The commit changed the logic and no longer cut off the line at the cursor, resulting in a prefix that included trailing characters | ||
* | fix(lsp): fix off-by-one error for omnifunc word boundary | Mathias Fussenegger | 2023-10-23 |
Fixes https://github.com/neovim/neovim/issues/25177 I initially wanted to split this into a refactor commit to make it more testable, but it appears that already accidentally fixed the issue by normalizing lnum/col to 0-indexing |