diff options
author | Lajos Koszti <ajnasz@ajnasz.hu> | 2023-10-26 22:40:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 22:40:36 +0200 |
commit | ba6761eafe615a7f904c585dba3b7d6e98f665e1 (patch) | |
tree | fe28b726b893168c12dc06770b22f52b1db0ae32 /runtime/lua/vim/func/_memoize.lua | |
parent | 15983cf2c64c527fc13681925d0d00c070c30640 (diff) | |
download | rneovim-ba6761eafe615a7f904c585dba3b7d6e98f665e1.tar.gz rneovim-ba6761eafe615a7f904c585dba3b7d6e98f665e1.tar.bz2 rneovim-ba6761eafe615a7f904c585dba3b7d6e98f665e1.zip |
fix(lsp): fix omnicomplete in middle of the line (#25787)
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
Diffstat (limited to 'runtime/lua/vim/func/_memoize.lua')
0 files changed, 0 insertions, 0 deletions