From 68cd6493f451676b290c0d141437404529ae18d1 Mon Sep 17 00:00:00 2001 From: lsanto Date: Sun, 29 Sep 2024 21:27:50 -0400 Subject: [PATCH] add relative path to lualine --- lua/custom/plugins/lualine.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/lualine.lua b/lua/custom/plugins/lualine.lua index de7aeb8d..9bcb79e9 100644 --- a/lua/custom/plugins/lualine.lua +++ b/lua/custom/plugins/lualine.lua @@ -2,6 +2,12 @@ return { 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, config = function() - require('lualine').setup {} + require('lualine').setup { + sections = { + lualine_c = { + { 'filename', path = 1 }, -- This line configures the filename to show the relative path + }, + }, + } end, }