about summary refs log tree commit diff
path: root/dotfiles
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-04-11 00:32:13 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-04-11 00:32:13 +0200
commit3a2c8e124a037425cd7886daf5707090a07a3666 (patch)
tree5ccefe3986e0d8df337ad013773a8128197ff519 /dotfiles
parentDotfiles: Tmux: Fix nvim-tmux window switching for nixos (diff)
downloadnixos-config-3a2c8e124a037425cd7886daf5707090a07a3666.tar.gz
nixos-config-3a2c8e124a037425cd7886daf5707090a07a3666.tar.bz2
nixos-config-3a2c8e124a037425cd7886daf5707090a07a3666.zip
Dotfiles: Nvim: Show file % in statusline
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/nvim/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua
index 566cb1c..c1c87cb 100644
--- a/dotfiles/nvim/init.lua
+++ b/dotfiles/nvim/init.lua
@@ -852,7 +852,7 @@ require('lazy').setup({
       -- cursor location to LINE:COLUMN
       ---@diagnostic disable-next-line: duplicate-set-field
       statusline.section_location = function()
-        return '%2l:%-2v'
+        return '%P %2l:%-2v'
       end
 
       -- ... and there is more!