This commit is contained in:
2026-02-11 10:38:42 +02:00
parent 54bcb0352b
commit 5728191720
6 changed files with 69 additions and 138 deletions

View File

@@ -14,30 +14,30 @@ return {
}
require('mini.pairs').setup()
require('mini.icons').setup()
-- require('mini.statusline').setup({
-- content = {
-- active = function()
-- local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
-- local git = MiniStatusline.section_git({ trunc_width = 40 })
-- local diff = MiniStatusline.section_diff({ trunc_width = 75 })
-- local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
-- local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
-- local filename = MiniStatusline.section_filename({ trunc_width = 140 })
-- local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
-- local location = MiniStatusline.section_location({ trunc_width = 75 })
-- local search = MiniStatusline.section_searchcount({ trunc_width = 75 })
--
-- return MiniStatusline.combine_groups({
-- { hl = mode_hl, strings = { mode } },
-- { hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, diff } },
-- '%<', -- Mark truncation point
-- { hl = 'MiniStatuslineFilename', strings = { filename } },
-- '%=', -- Fill rest of screen
-- { hl = 'MiniStatuslineFileinfo', strings = { lsp, fileinfo } },
-- { hl = mode_hl, strings = { location } },
-- })
-- end,
-- },
-- })
-- require('mini.statusline').setup({
-- content = {
-- active = function()
-- local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
-- local git = MiniStatusline.section_git({ trunc_width = 40 })
-- local diff = MiniStatusline.section_diff({ trunc_width = 75 })
-- local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
-- local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
-- local filename = MiniStatusline.section_filename({ trunc_width = 140 })
-- local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
-- local location = MiniStatusline.section_location({ trunc_width = 75 })
-- local search = MiniStatusline.section_searchcount({ trunc_width = 75 })
--
-- return MiniStatusline.combine_groups({
-- { hl = mode_hl, strings = { mode } },
-- { hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, diff } },
-- '%<', -- Mark truncation point
-- { hl = 'MiniStatuslineFilename', strings = { filename } },
-- '%=', -- Fill rest of screen
-- { hl = 'MiniStatuslineFileinfo', strings = { lsp, fileinfo } },
-- { hl = mode_hl, strings = { location } },
-- })
-- end,
-- },
-- })
end,
}