lualine add notice for recording of macros

This commit is contained in:
Christoph J. Scherr 2024-07-15 13:30:46 +02:00
parent 2a6fb440ab
commit e225a002b0
1 changed files with 14 additions and 4 deletions

View File

@ -585,12 +585,22 @@ return {
lazy = false,
dependencies = {
'nvim-tree/nvim-web-devicons',
'NvChad/ui', -- load after nvchad ui
'yavorski/lualine-macro-recording.nvim',
},
config = function()
-- TODO: add lsp module for lualine
-- Maybe we can steal modules from the nvchad ui
require('lualine').setup {}
require('lualine').setup {
options = {
theme = 'horizon',
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = { { 'macro_recording', color = { fg = '#ff9e3b' } }, 'filename', 'locatoin' },
lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_y = { 'progress' },
lualine_z = { 'location' },
},
}
end,
},
{