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:
Marty Oehme 2024-02-18 10:24:46 +01:00
parent ab123a4c36
commit 4c5d18d7e4
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -7,8 +7,8 @@ return {
options = {
icons_enabled = true,
theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {},
always_divide_middle = true,
},
@ -17,8 +17,8 @@ return {
lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = { "filename" },
lualine_x = { "encoding", "fileformat", "filetype" },
lualine_y = { "progress", "location" },
lualine_z = { "hostname" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
inactive_sections = {
lualine_a = {},
@ -51,7 +51,7 @@ return {
{ "stevearc/dressing.nvim", config = true, event = "VeryLazy" },
-- 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
{
"m4xshen/smartcolumn.nvim",