From 7458ca9256db3bd052e56fd0d33730e037a49bfb Mon Sep 17 00:00:00 2001 From: Swastik Acharyya Date: Fri, 2 Apr 2021 21:39:54 +0530 Subject: [PATCH] Vim mode NAMES and Soothing Colors Making The Vim mode NAMES as specific as it is and changing the colors to make it look like overall soothing with the statusline --- example/spaceline.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/spaceline.lua b/example/spaceline.lua index 3699b8f..7c79abb 100644 --- a/example/spaceline.lua +++ b/example/spaceline.lua @@ -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] ={