aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-02-28 19:23:13 +0100
committerGitHub <noreply@github.com>2024-02-28 13:23:13 -0500
commit465d6f25c23dc6be27746b758253168adf9cb5bb (patch)
tree7d6c68d039895f1e561856d6d3ed58e89311600c
parent18b919c61eec1f6ffe91ad21c14e53ce27048b0a (diff)
Change mini.statusline location format to LINE:COLUMN (#659)
Default mini.statusline location format is: 'cursor line | total lines │ cursor column | total columns'
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 0506b3e..89da77b 100644
--- a/init.lua
+++ b/init.lua
@@ -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