Skip to content

Commit

Permalink
Merge pull request #123 from arpangreat/patch-1
Browse files Browse the repository at this point in the history
Vim mode NAMES and Soothing Colors
  • Loading branch information
glepnir authored Apr 3, 2021
2 parents b511e7c + 7458ca9 commit 180177f
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 180177f

Please sign in to comment.