Skip to content

Commit e827cd7

Browse files
committed
add total file lines in status
1 parent 47ff687 commit e827cd7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

init.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,9 @@ require('lazy').setup({
893893
-- default behavior. For example, here we set the section for
894894
-- cursor location to LINE:COLUMN
895895
---@diagnostic disable-next-line: duplicate-set-field
896-
statusline.section_location = function() return '%2l:%-2v' end
896+
statusline.section_location = function()
897+
return '%2l:%-2v - %L'
898+
end
897899

898900
-- ... and there is more!
899901
-- Check out: https://github.com/nvim-mini/mini.nvim

0 commit comments

Comments
 (0)