feat(lualine): add relative path in filename

- Useful for node architecture where everything is named `inner.js`
This commit is contained in:
Fabrice Mouhartem 2025-04-07 15:29:09 +02:00
parent 0a2c5aae5e
commit 7e5c198296
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

View File

@ -172,6 +172,22 @@ require('lazy').setup({
component_separators = '|',
section_separators = '',
},
sections = {
lualine_c = {
{
'filename',
path = 1,
}
},
},
inactive_sections = {
lualine_c = {
{
'filename',
path = 1,
}
},
},
symbols = {
error = "",
warn = "",
@ -281,7 +297,7 @@ require('lazy').setup({
{
"nvim-neorg/neorg",
dependencies = { "luarocks.nvim", { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
-- version = "*", -- Pin Neorg to the latest stable release
config = function()
require("neorg").setup {