This commit is contained in:
hrsh7th
2021-11-03 03:16:45 +09:00
parent c67ed9d8bc
commit 2a58b8f926
3 changed files with 5 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ api.is_insert_mode = function()
'i',
'ic',
'ix',
}, vim.api.nvim_get_mode().mode)
}, vim.api.nvim_get_mode().mode) or vim.v.insertmode == 'i'
end
api.is_cmdline_mode = function()