feat(lualine): add relative path in filename
- Useful for node architecture where everything is named `inner.js`
This commit is contained in:
parent
0a2c5aae5e
commit
7e5c198296
@ -172,6 +172,22 @@ require('lazy').setup({
|
|||||||
component_separators = '|',
|
component_separators = '|',
|
||||||
section_separators = '',
|
section_separators = '',
|
||||||
},
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_c = {
|
||||||
|
{
|
||||||
|
'filename',
|
||||||
|
path = 1,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
inactive_sections = {
|
||||||
|
lualine_c = {
|
||||||
|
{
|
||||||
|
'filename',
|
||||||
|
path = 1,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
symbols = {
|
symbols = {
|
||||||
error = " ",
|
error = " ",
|
||||||
warn = " ",
|
warn = " ",
|
||||||
@ -281,7 +297,7 @@ require('lazy').setup({
|
|||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
dependencies = { "luarocks.nvim", { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
|
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
|
-- version = "*", -- Pin Neorg to the latest stable release
|
||||||
config = function()
|
config = function()
|
||||||
require("neorg").setup {
|
require("neorg").setup {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user