nvim lualine path style

This commit is contained in:
thek4n 2024-04-03 08:44:12 +03:00
parent 27c6af704a
commit 8e3d11b2c8

View File

@ -23,7 +23,7 @@ return {
config = function()
require("lualine").setup({
options = {
component_separators = { left = '//', right = '' },
component_separators = { left = '/', right = '' },
},
sections = {
lualine_a = {'mode'},
@ -33,12 +33,15 @@ return {
'vim.fn.getcwd()',
fmt = function(str)
return str:gsub(os.getenv("HOME"), "~")
end
end,
color = { fg = 'white', gui='bold' },
padding = { left = 1, right = 0 }
},
{
'filename',
file_status = true,
path = 1
path = 1,
padding = { left = 0, right = 1 }
},
},
lualine_x = {'GET_FORMATTED_VIRTUAL_ENV()', 'DETECT_INDENT_TYPE()', 'filetype'},