Skip to content

Commit

Permalink
feat: add InsertEnter autcmd for signature help
Browse files Browse the repository at this point in the history
  • Loading branch information
bassamsdata committed Apr 21, 2024
1 parent 653f201 commit d7b1d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/autocomplete/signature.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function M.setup(config)
state.entry = util.entry()
local group = vim.api.nvim_create_augroup('LspSignatureHelp', {})

vim.api.nvim_create_autocmd('CursorMovedI', {
vim.api.nvim_create_autocmd({ 'CursorMovedI', 'InsertEnter' }, {
desc = 'Auto show LSP signature help',
group = group,
callback = cursor_moved,
Expand Down

0 comments on commit d7b1d18

Please sign in to comment.