neovim: changes to how we access nvf.lib
This commit is contained in:
parent
7868ac1529
commit
8d9c2a0ed2
39 changed files with 30 additions and 28 deletions
52
outputs/pkgs/ook-vim/config/plugins/statusline.nix
Normal file
52
outputs/pkgs/ook-vim/config/plugins/statusline.nix
Normal 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' },
|
||||
}
|
||||
}
|
||||
''
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue