neovim/runtime/lua/vim/lsp
Lajos Koszti ba6761eafe
fix(lsp): fix omnicomplete in middle of the line (#25787)
Fixes a regression from 5e5f5174e3

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
2023-10-26 22:40:36 +02:00
..
_meta fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
_completion.lua fix(lsp): fix omnicomplete in middle of the line (#25787) 2023-10-26 22:40:36 +02:00
_dynamic.lua feat(lsp): initial support for dynamic capabilities (#23681) 2023-05-28 07:51:28 +02:00
_meta.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
_snippet_grammar.lua feat(lsp): add snippet API (#25301) 2023-10-21 08:51:26 +02:00
_watchfiles.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
buf.lua docs: do not hardcode LSP version in URL #25648 2023-10-16 08:13:37 -07:00
codelens.lua fix(lsp): clear codelens on LspDetach (#24903) 2023-09-21 09:56:15 +02:00
diagnostic.lua fix(lsp): log unknown diagnostic tags instead of showing a warning (#25705) 2023-10-21 08:47:14 +02:00
handlers.lua fix(lsp): highlight active parameter in signature help #25663 2023-10-16 08:52:48 -07:00
health.lua feat(health): list attached buffers in LSP report #23561 2023-09-24 11:43:16 -07:00
inlay_hint.lua fix(lsp): only disable inlay hints / diagnostics if no other clients are connected (#24535) 2023-08-31 10:00:24 +02:00
log.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
protocol.lua refactor(lsp): move completion logic into _completion module 2023-10-21 13:49:05 +02:00
rpc.lua refactor(vim.system): factor out on_exit handling 2023-09-05 17:10:04 +01:00
semantic_tokens.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
sync.lua docs: do not hardcode LSP version in URL #25648 2023-10-16 08:13:37 -07:00
tagfunc.lua refactor(lsp): fix luals warnings in tagfunc and add type annotations (#25150) 2023-10-14 11:31:16 +02:00
util.lua refactor(lsp): deprecate completion util methods 2023-10-21 13:49:05 +02:00