From a41004bf834d84e23b2caa6d5a0105132837cd54 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 27 Jul 2025 01:23:02 +0200 Subject: [PATCH] (neovim) setup inactive sections for lualine, fix file path --- config/common/nvim/lua/plugins/common/lualine.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config/common/nvim/lua/plugins/common/lualine.lua b/config/common/nvim/lua/plugins/common/lualine.lua index 4fd075e..6524dd4 100644 --- a/config/common/nvim/lua/plugins/common/lualine.lua +++ b/config/common/nvim/lua/plugins/common/lualine.lua @@ -12,7 +12,7 @@ local lualine_sections = { }, }, lualine_c = { - { "filename", file_status = true, path = 1 }, + { "filename", file_status = true, path = 3 }, }, lualine_x = {}, lualine_y = { @@ -56,6 +56,16 @@ return { disabled_filetypes = { statusline = { "snacks_dashboard" } }, }, sections = lualine_sections, + inactive_sections = { + lualine_a = {}, + lualine_c = { + { "filename", file_status = true, path = 3, shorting_target = 0 }, + }, + lualine_b = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {}, + }, tabline = { lualine_a = { "buffers" }, },