aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2024-08-07 14:22:48 +0200
committerCharles Cabergs <me@cacharle.xyz>2024-08-07 14:22:48 +0200
commitecc53220883bdfc6bab7e6500b52bf452085f4a7 (patch)
tree554a9f57f4c811f2b76ce65b6ceeec67b59ba2d1 /config/nvim/lua/plugins.lua
parent03eb44293762bbbe7459b91a4c7bdf23e62a5bf6 (diff)
downloaddotfiles-ecc53220883bdfc6bab7e6500b52bf452085f4a7.tar.gz
dotfiles-ecc53220883bdfc6bab7e6500b52bf452085f4a7.tar.bz2
dotfiles-ecc53220883bdfc6bab7e6500b52bf452085f4a7.zip
Update lualine to display relative path on active window
Diffstat (limited to 'config/nvim/lua/plugins.lua')
-rw-r--r--config/nvim/lua/plugins.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index f5f22fc..697d8fe 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -379,7 +379,11 @@ return require("packer").startup(function()
icons_enabled = true,
section_separators = '',
component_separators = '',
- }
+ },
+ sections = {
+ -- path=1 for Relative path (https://github.com/nvim-lualine/lualine.nvim?tab=readme-ov-file#filename-component-options)
+ lualine_c = {{'filename', path = 1}},
+ },
}
end
}