Skip to content

Commit

Permalink
feat(minimal_init): use api for close autocmd
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Jul 22, 2024
1 parent 1199139 commit e8de597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimal_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ local plugins = {

vim.api.nvim_create_autocmd("InsertLeave", {
callback = function()
require("neocomplete").core.menu:close()
require("neocomplete").api.close()
end,
})
end,
Expand Down

0 comments on commit e8de597

Please sign in to comment.