even cooler

This commit is contained in:
2025-12-18 23:12:43 +07:00
parent 3c21e12bf3
commit 1e969b43a0
18 changed files with 180 additions and 393 deletions

View File

@@ -61,25 +61,7 @@ return {
fmt = nil,
on_click = nil,
},
lualine_b = {
'branch',
'diff',
{
'diagnostics',
sources = { 'coc' },
sections = { 'error', 'warn', 'info', 'hint' },
diagnostics_color = {
error = 'DiagnosticError',
warn = 'DiagnosticWarn',
info = 'DiagnosticInfo',
hint = 'DiagnosticHint',
},
symbols = {error = 'E', warn = 'W', info = 'I', hint = 'H'},
colored = true,
update_in_insert = false,
always_visible = false
}
},
lualine_b = {'branch', 'diff'},
lualine_c = {'filename', 'lsp_progress'},
lualine_x = { FugitiveStatusline, 'encoding', 'fileformat', 'filetype'},
-- lualine_x = { FugitiveHead, 'encoding', 'fileformat', 'filetype'},
@@ -101,5 +83,23 @@ return {
'lazy',
'nvim-dap-ui',
'trouble',
'neo-tree'}
'neo-tree'
},
-- config = function()
-- local trouble = require("trouble")
-- local symbols = trouble.statusline({
-- mode = "lsp_document_symbols",
-- groups = {},
-- title = false,
-- filter = { range = true },
-- format = "{kind_icon}{symbol.name:Normal}",
-- -- The following line is needed to fix the background color
-- -- Set it to the lualine section you want to use
-- hl_group = "lualine_c_normal",
-- })
-- table.insert(opts.sections.lualine_c, {
-- symbols.get,
-- cond = symbols.has,
-- })
-- end
}