mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
fix(lsp): update completion items on TextChangedP
This commit is contained in:
@@ -42,7 +42,7 @@ Capability.all[Completor.name] = Completor
|
|||||||
function Completor:new(bufnr)
|
function Completor:new(bufnr)
|
||||||
self = Capability.new(self, bufnr)
|
self = Capability.new(self, bufnr)
|
||||||
self.client_state = {}
|
self.client_state = {}
|
||||||
api.nvim_create_autocmd({ 'InsertEnter', 'CursorMovedI' }, {
|
api.nvim_create_autocmd({ 'InsertEnter', 'CursorMovedI', 'TextChangedP' }, {
|
||||||
group = self.augroup,
|
group = self.augroup,
|
||||||
callback = function()
|
callback = function()
|
||||||
self:automatic_request()
|
self:automatic_request()
|
||||||
|
Reference in New Issue
Block a user