Skip to content

Commit

Permalink
Vim mode NAMES and Soothing Colors
Browse files Browse the repository at this point in the history
Making The Vim mode NAMES as specific as it is and changing the colors to make it look like overall soothing with the statusline
  • Loading branch information
arpangreat authored Apr 2, 2021
1 parent b511e7c commit 7458ca9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/spaceline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ gls.left[1] = {
gls.left[2] = {
ViMode = {
provider = function()
local alias = {n = 'NORMAL',i = 'INSERT',c= 'COMMAND',V= 'VISUAL', [''] = 'VISUAL'}
local alias = {n = 'NORMAL',i = 'INSERT',c= 'COMMAND',v= 'VISUAL',V= 'VISUAL LINE', [''] = 'VISUAL BLOCK'}
return alias[vim.fn.mode()]
end,
separator = '',
separator_highlight = {colors.yellow,function()
separator_highlight = {colors.purple,function()
if not buffer_not_empty() then
return colors.purple
end
return colors.darkblue
end},
highlight = {colors.magenta,colors.yellow,'bold'},
highlight = {colors.darkblue,colors.purple,'bold'},
},
}
gls.left[3] ={
Expand Down

0 comments on commit 7458ca9

Please sign in to comment.