Skip to content

Commit

Permalink
Change mini.statusline location format to LINE:COLUMN
Browse files Browse the repository at this point in the history
Default mini.statusline location format is:
  'cursor line | total lines │ cursor column | total columns'
  • Loading branch information
dam9000 committed Feb 28, 2024
1 parent 18b919c commit f908491
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ require('lazy').setup {
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin
require('mini.statusline').setup()
MiniStatusline.section_location = function()
return '%2l:%-2v'
end

-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim
Expand Down

0 comments on commit f908491

Please sign in to comment.