nvim lualine path style
This commit is contained in:
parent
27c6af704a
commit
8e3d11b2c8
@ -23,7 +23,7 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("lualine").setup({
|
require("lualine").setup({
|
||||||
options = {
|
options = {
|
||||||
component_separators = { left = '//', right = '' },
|
component_separators = { left = '/', right = '' },
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = {'mode'},
|
||||||
@ -33,12 +33,15 @@ return {
|
|||||||
'vim.fn.getcwd()',
|
'vim.fn.getcwd()',
|
||||||
fmt = function(str)
|
fmt = function(str)
|
||||||
return str:gsub(os.getenv("HOME"), "~")
|
return str:gsub(os.getenv("HOME"), "~")
|
||||||
end
|
end,
|
||||||
|
color = { fg = 'white', gui='bold' },
|
||||||
|
padding = { left = 1, right = 0 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'filename',
|
'filename',
|
||||||
file_status = true,
|
file_status = true,
|
||||||
path = 1
|
path = 1,
|
||||||
|
padding = { left = 0, right = 1 }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lualine_x = {'GET_FORMATTED_VIRTUAL_ENV()', 'DETECT_INDENT_TYPE()', 'filetype'},
|
lualine_x = {'GET_FORMATTED_VIRTUAL_ENV()', 'DETECT_INDENT_TYPE()', 'filetype'},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user