show term insert mode in statusline

This commit is contained in:
siduck76 2021-05-25 17:07:37 +05:30
parent 75b95a89d1
commit c203b56a3f
1 changed files with 3 additions and 1 deletions

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,