lost: a bunch of stuff was changed and I lost track
This commit is contained in:
+6
-1
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user