|
|
@ -115,12 +115,9 @@ local MODE_HL_GROUP = 'LualineViMode'
|
|
|
|
|
|
|
|
|
|
|
|
--[[/* FELINE CONFIG */]]
|
|
|
|
--[[/* FELINE CONFIG */]]
|
|
|
|
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd('User', {
|
|
|
|
vim.api.nvim_create_autocmd('ModeChanged', {callback = function()
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
require('lualine').refresh {scope = 'window', place = {'statusline'}}
|
|
|
|
require('lualine').refresh {scope = 'window', place = {'statusline'}}
|
|
|
|
end,
|
|
|
|
end})
|
|
|
|
pattern = {'LibmodalModeEnterPre', 'LibmodalModeLeavePost'},
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
require('lualine').setup {sections = {lualine_a = {{
|
|
|
|
require('lualine').setup {sections = {lualine_a = {{
|
|
|
|
function() -- auto change color according the vim mode
|
|
|
|
function() -- auto change color according the vim mode
|
|
|
|