fix vi nomode issue
This commit is contained in:
parent
afcacf1726
commit
bdcf708d77
1 changed files with 5 additions and 1 deletions
|
@ -137,7 +137,11 @@ gls.right[4] = {
|
||||||
v = "Visual",
|
v = "Visual",
|
||||||
R = "Replace"
|
R = "Replace"
|
||||||
}
|
}
|
||||||
return " " .. alias[vim.fn.mode()] .. " "
|
local current_Mode = alias[vim.fn.mode()]
|
||||||
|
|
||||||
|
if current_Mode ~= nil then
|
||||||
|
return " " .. current_Mode .. " "
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
highlight = {colors.red, colors.lightbg}
|
highlight = {colors.red, colors.lightbg}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue