mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 15:40:20 -05:00
fix(lsp): update completion items on TextChangedP
This commit is contained in:
1 parent
6c3e9b5573
commit
db1b7f7412
1 file changed
+1
-1
@@ -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' }, {
|
||||
api.nvim_create_autocmd({ 'InsertEnter', 'CursorMovedI', 'TextChangedP' }, {
|
||||
group = self.augroup,
|
||||
callback = function()
|
||||
self:automatic_request()
|
||||
|
||||
Reference in new issue
Block a user