mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
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:
parent
18b919c61e
commit
465d6f25c2
3
init.lua
3
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user