lost: a bunch of stuff was changed and I lost track

This commit is contained in:
2026-04-30 22:47:32 +02:00
parent c472be7bf6
commit c713e27fab
12 changed files with 38 additions and 9 deletions
+6 -1
View File
@@ -17,6 +17,11 @@ return {
statusline.setup { use_icons = vim.g.have_nerd_font }
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function() return '%2l:%-2v' end
statusline.section_location = function()
local ok, loc = pcall(require, 'loc')
if not ok then return '%2l:%-2v' end
return loc.statusline() .. ' ' .. '%2l:%-2v'
end
end,
}