show term insert mode in statusline

This commit is contained in:
siduck76 2021-05-25 17:07:37 +05:30
parent 75b95a89d1
commit c203b56a3f

View File

@ -139,7 +139,9 @@ gls.right[4] = {
}
local current_Mode = alias[vim.fn.mode()]
if current_Mode ~= nil then
if current_Mode == nil then
return " Terminal "
else
return " " .. current_Mode .. " "
end
end,