This commit is contained in:
hrsh7th
2021-11-01 13:58:41 +09:00
parent baa39271b2
commit e8cb695b0b
4 changed files with 37 additions and 19 deletions

View File

@@ -202,7 +202,7 @@ core.autoindent = function(self, trigger_event, callback)
if trigger_event ~= types.cmp.TriggerEvent.TextChanged then
return callback()
end
if not api.is_insert_mode() then
if not api.is_insert_mode() then
return callback()
end