nvim: Change lualine design
Slightly adapt lualine to not have arrow section/component dividers, but simple slanted lines. Gets rid of a tiny bit of noise while still clearly subdividing the sections for me which I need. Also, removed displaying the hostname. I know which host I am on generally, and rarely make use of it so it's just unnecessary info for me.
This commit is contained in:
parent
ab123a4c36
commit
4c5d18d7e4
1 changed files with 5 additions and 5 deletions
|
@ -7,8 +7,8 @@ return {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = "auto",
|
theme = "auto",
|
||||||
component_separators = { left = "", right = "" },
|
component_separators = { left = "", right = "" },
|
||||||
section_separators = { left = "", right = "" },
|
section_separators = { left = "", right = "" },
|
||||||
disabled_filetypes = {},
|
disabled_filetypes = {},
|
||||||
always_divide_middle = true,
|
always_divide_middle = true,
|
||||||
},
|
},
|
||||||
|
@ -17,8 +17,8 @@ return {
|
||||||
lualine_b = { "branch", "diff", "diagnostics" },
|
lualine_b = { "branch", "diff", "diagnostics" },
|
||||||
lualine_c = { "filename" },
|
lualine_c = { "filename" },
|
||||||
lualine_x = { "encoding", "fileformat", "filetype" },
|
lualine_x = { "encoding", "fileformat", "filetype" },
|
||||||
lualine_y = { "progress", "location" },
|
lualine_y = { "progress" },
|
||||||
lualine_z = { "hostname" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
inactive_sections = {
|
inactive_sections = {
|
||||||
lualine_a = {},
|
lualine_a = {},
|
||||||
|
@ -51,7 +51,7 @@ return {
|
||||||
{ "stevearc/dressing.nvim", config = true, event = "VeryLazy" },
|
{ "stevearc/dressing.nvim", config = true, event = "VeryLazy" },
|
||||||
|
|
||||||
-- numbers to absolute for all buffers but the current which is relative
|
-- numbers to absolute for all buffers but the current which is relative
|
||||||
{ "jeffkreeftmeijer/vim-numbertoggle", event = "BufEnter" },
|
{ "jeffkreeftmeijer/vim-numbertoggle", event = "InsertEnter" },
|
||||||
-- auto-hiding colorcolumn
|
-- auto-hiding colorcolumn
|
||||||
{
|
{
|
||||||
"m4xshen/smartcolumn.nvim",
|
"m4xshen/smartcolumn.nvim",
|
||||||
|
|
Loading…
Reference in a new issue