nvim: display current directory on the right of lualine
This commit is contained in:
parent
fee1f12743
commit
3070322f7d
@ -1,3 +1,7 @@
|
||||
local function cwd()
|
||||
return vim.fn.getcwd()
|
||||
end
|
||||
|
||||
return {
|
||||
-- Colorscheme
|
||||
{
|
||||
@ -22,6 +26,9 @@ return {
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
},
|
||||
sections = {
|
||||
lualine_x = { cwd, 'encoding', 'fileformat', 'filetype' }
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user