neovim/runtime/lua/vim
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 vim-patch:partial:5985879e3c36 (#25780) 2023-10-26 06:41:54 +08:00
filetype vim-patch:9.0.2062: Janet files are not recognised 2023-10-24 10:15:47 +02:00
func feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
lsp fix(lsp): fix omnicomplete in middle of the line (#25787) 2023-10-26 22:40:36 +02:00
treesitter fix(treesitter): set cursor position when opening inspector 2023-10-19 14:54:10 +02:00
_editor.lua feat(lsp): add snippet API (#25301) 2023-10-21 08:51:26 +02:00
_init_packages.lua refactor(build): include lpeg as a library 2023-04-27 11:40:00 +02:00
_inspector.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_meta.lua feat(lsp): add snippet API (#25301) 2023-10-21 08:51:26 +02:00
_options.lua docs: do not use deprecated functions #25334 2023-09-24 21:39:59 -07:00
_system.lua fix: windows timeouts have exit code 1 2023-09-05 17:10:04 +01:00
_watch.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
diagnostic.lua fix(diagnostics): if buffer not loaded, skip handlers that set extmark (#25628) 2023-10-16 20:51:36 -05:00
F.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
filetype.lua vim-patch:9.0.2063: pacman hooks are detected as conf filetype 2023-10-24 10:15:47 +02:00
fs.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
func.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
health.lua feat(health): fold successful healthchecks #22866 2023-06-06 08:42:26 -07:00
highlight.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua feat(vimdoc): support Markdown code blocks (#25127) 2023-09-13 08:38:28 -05:00
keymap.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
loader.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
lsp.lua refactor(lsp): move completion logic into _completion module 2023-10-21 13:49:05 +02:00
re.lua build: bump lpeg to 1.1.0 (#25016) 2023-09-04 22:42:47 +02:00
secure.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
shared.lua docs: misc #24561 2023-09-20 04:15:23 -07:00
snippet.lua fix(lsp): cancel session when leaving snippet region (#25762) 2023-10-26 07:29:05 +02:00
treesitter.lua feat(treesitter): add foldtext with treesitter highlighting (#25391) 2023-10-01 14:10:51 -05:00
ui.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
uri.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
version.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
vimhelp.lua feat(runtime): highlight hl groups in syntax.txt (#25050) 2023-09-08 21:05:35 +08:00