Fix #640
This commit is contained in:
@@ -322,6 +322,7 @@ core.confirm = function(self, e, option, callback)
|
|||||||
-- Close menus.
|
-- Close menus.
|
||||||
self.view:close()
|
self.view:close()
|
||||||
|
|
||||||
|
feedkeys.call(keymap.t('<Cmd>set indentkeys=<CR>'), 'n')
|
||||||
feedkeys.call('', 'n', function()
|
feedkeys.call('', 'n', function()
|
||||||
local ctx = context.new()
|
local ctx = context.new()
|
||||||
local keys = {}
|
local keys = {}
|
||||||
@@ -427,6 +428,7 @@ core.confirm = function(self, e, option, callback)
|
|||||||
feedkeys.call(table.concat(keys, ''), 'int')
|
feedkeys.call(table.concat(keys, ''), 'int')
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
feedkeys.call(keymap.t('<Cmd>set indentkeys=%s<CR>'):format(vim.fn.escape(vim.bo.indentkeys, ' "|\\')), 'n')
|
||||||
feedkeys.call('', 'n', function()
|
feedkeys.call('', 'n', function()
|
||||||
e:execute(vim.schedule_wrap(function()
|
e:execute(vim.schedule_wrap(function()
|
||||||
release()
|
release()
|
||||||
|
|||||||
Reference in New Issue
Block a user