Change mini.statusline location format to LINE:COLUMN (#659)

Default mini.statusline location format is:
  'cursor line | total lines │ cursor column | total columns'
This commit is contained in:
Damjan 9000 2024-02-28 19:23:13 +01:00 committed by GitHub
parent 18b919c61e
commit 465d6f25c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -762,6 +762,9 @@ require('lazy').setup {
-- You could remove this setup call if you don't like it, -- You could remove this setup call if you don't like it,
-- and try some other statusline plugin -- and try some other statusline plugin
require('mini.statusline').setup() require('mini.statusline').setup()
MiniStatusline.section_location = function()
return '%2l:%-2v'
end
-- ... and there is more! -- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim -- Check out: https://github.com/echasnovski/mini.nvim