This commit is contained in:
hrsh7th
2021-09-16 12:49:30 +09:00
parent 1cd577403d
commit c2e7736260
2 changed files with 3 additions and 1 deletions

View File

@@ -232,7 +232,7 @@ core.autoindent = function(event, callback)
if prefix then
for _, key in ipairs(vim.split(vim.bo.indentkeys, ',')) do
if vim.tbl_contains({ '=' .. prefix, '0=' .. prefix }, key) then
return keymap.feedkeys(keymap.t('<C-f>'), 'n', callback)
return keymap.feedkeys(keymap.t('<Plug>(cmp-autoindent)'), 'n', callback)
end
end
end