show term insert mode in statusline
This commit is contained in:
parent
75b95a89d1
commit
c203b56a3f
|
@ -139,7 +139,9 @@ gls.right[4] = {
|
||||||
}
|
}
|
||||||
local current_Mode = alias[vim.fn.mode()]
|
local current_Mode = alias[vim.fn.mode()]
|
||||||
|
|
||||||
if current_Mode ~= nil then
|
if current_Mode == nil then
|
||||||
|
return " Terminal "
|
||||||
|
else
|
||||||
return " " .. current_Mode .. " "
|
return " " .. current_Mode .. " "
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue