Kaynağa Gözat

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

Default mini.statusline location format is:
  'cursor line | total lines │ cursor column | total columns'
Damjan 9000 2 yıl önce
ebeveyn
işleme
465d6f25c2
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      init.lua

+ 3 - 0
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