neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit bcf952e85f43f3c36471fe96a75180b2b0492088
parent cd7cf4bd16e79f3b8b28a8a86580d45b3cd151d4
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Wed, 27 Aug 2025 13:33:17 -0400

Merge #35505 from ofseed/lsp-fix-autocomplete


Diffstat:
Mruntime/lua/vim/lsp/inline_completion.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/lua/vim/lsp/inline_completion.lua b/runtime/lua/vim/lsp/inline_completion.lua @@ -42,7 +42,7 @@ Capability.all[Completor.name] = Completor function Completor:new(bufnr) self = Capability.new(self, bufnr) self.client_state = {} - api.nvim_create_autocmd({ 'InsertEnter', 'CursorMovedI', 'CursorHoldI' }, { + api.nvim_create_autocmd({ 'InsertEnter', 'CursorMovedI', 'TextChangedP' }, { group = self.augroup, callback = function() self:automatic_request() @@ -373,7 +373,7 @@ function M.select(opts) end local count = opts.count or vim.v.count1 - local wrap = opts.wrap or true + local wrap = opts.wrap ~= false local current = completor.current if not current then