all repos

init.lua @ 4bf2d21ee5dfd04bf2bd4e3ffa2576156adfeb29

my nvim config
1 files changed, 7 insertions(+), 1 deletions(-)
feat(lualine): show file name
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-11-28 15:05:51 +0200
Parent: 24a0b5b
M lua/configs/lualine.lua

@@ -7,6 +7,12 @@ padding = 0,

}, diagnostic = { "diagnostics", sources = { "nvim_diagnostic" } }, location = { "location", padding = 1, colored = false }, + sep = { + function() + return "|" + end, + padding = 0, + }, lsp = { function() local clients = vim.lsp.get_active_clients { bufnr = 0 }

@@ -43,7 +49,7 @@ },

sections = { lualine_a = { c.mode }, lualine_b = {}, - lualine_c = { "branch", c.diagnostic }, + lualine_c = { "filename", c.sep, "branch", c.diagnostic }, lualine_x = { c.lsp, "diff" }, lualine_y = {}, lualine_z = { c.location },