lualine in progress
This commit is contained in:
parent
543c4808a4
commit
0f4deed216
1 changed files with 30 additions and 4 deletions
|
|
@ -9,10 +9,36 @@ return {
|
||||||
},
|
},
|
||||||
winbar = {},
|
winbar = {},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = { "mode" },
|
lualine_a = {
|
||||||
lualine_b = { "branch" },
|
{
|
||||||
lualine_c = { "diff" },
|
"mode",
|
||||||
lualine_x = { "diagnostics" },
|
fmt = function(str)
|
||||||
|
return str:sub(1, 1)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
lualine_b = {
|
||||||
|
{
|
||||||
|
"filename",
|
||||||
|
file_status = true,
|
||||||
|
newfile_status = false,
|
||||||
|
path = 1, -- 0: Just the filename
|
||||||
|
-- 1: Relative path
|
||||||
|
-- 2: Absolute path
|
||||||
|
-- 3: Absolute path, with tilde as the home directory
|
||||||
|
-- 4: Filename and parent dir, with tilde as the home directory
|
||||||
|
|
||||||
|
shorting_target = 120,
|
||||||
|
symbols = {
|
||||||
|
modified = "[+]", -- Text to show when the file is modified.
|
||||||
|
readonly = "[-]", -- Text to show when the file is non-modifiable or readonly.
|
||||||
|
unnamed = "[No Name]", -- Text to show for unnamed buffers.
|
||||||
|
newfile = "[New]", -- Text to show for newly created file before first write
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
lualine_c = {},
|
||||||
|
lualine_x = { "branch", "diff", "diagnostics" },
|
||||||
lualine_y = { "location" },
|
lualine_y = { "location" },
|
||||||
lualine_z = { "filetype" },
|
lualine_z = { "filetype" },
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue