neovim: changes to how we access nvf.lib

This commit is contained in:
ooks-io 2025-01-06 16:27:13 +11:00
parent 7868ac1529
commit 8d9c2a0ed2
39 changed files with 30 additions and 28 deletions

View file

@ -0,0 +1,52 @@
{
vim.statusline.lualine = {
enable = true;
activeSection = {
a = [
#lua
''
{
"mode",
icons_enabled = true,
seperator = {left = "", right = " ", }
}
''
#lua
''
{
draw_empty = true,
seperator = { left = " ", right = " " }
}
''
];
b = [
#lua
''
{
"",
draw_empty = true,
}
''
];
c = ["filename"];
x = [
# lua
''
{
"diagnostics",
sources = {'nvim_lsp', 'nvim_diagnostic', 'nvim_diagnostic', 'vim_lsp'},
symbols = {error = '󰅙 ', warn = ' ', info = ' ', hint = '󰌵 '},
colored = true,
update_in_insert = false,
always_visible = false,
diagnostics_color = {
color_error = { fg = 'red' },
color_warn = { fg = 'yellow' },
color_info = { fg = 'cyan' },
}
}
''
];
};
};
}