refactor: remove mode from prompt func in default conf and dont refresh in vim mode

windows-fixes
TorchedSammy 2022-03-13 16:12:34 -04:00
parent 0113a4e0b4
commit c5dd05bb1e
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,7 @@ local lunacolors = require 'lunacolors'
local bait = require 'bait'
local ansikit = require 'ansikit'
local function doPrompt(fail, mode)
local function doPrompt(fail)
hilbish.prompt(lunacolors.format(
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. ''
))
@ -23,6 +23,4 @@ bait.catch('hilbish.vimMode', function(mode)
else
ansikit.cursorStyle(ansikit.lineCursor)
end
doPrompt(false, mode)
end)