fix(nvim): Translated lualine to nixvim
This commit is contained in:
parent
fc514537ca
commit
b501155c96
2 changed files with 10 additions and 51 deletions
|
@ -18,7 +18,16 @@
|
|||
};
|
||||
};
|
||||
lspkind.enable = true;
|
||||
lualine = import ./lualine.nix;
|
||||
lualine = {
|
||||
enable = true;
|
||||
theme = "gruvbox";
|
||||
sections = {
|
||||
lualine_a = [{ name = "mode"; }];
|
||||
lualine_b = [{ name = "filename"; } { name = "branch"; }];
|
||||
lualine_y = [{ name = "encoding"; } { name = "fileformat"; } { name = "filetype"; }];
|
||||
lualine_z = [{ name = "location"; }];
|
||||
};
|
||||
};
|
||||
luasnip = {
|
||||
enable = true;
|
||||
extraConfig = { update_events = "TextChanged,TextChangedI"; };
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
{
|
||||
enable = true;
|
||||
theme = "gruvbox";
|
||||
sections = {
|
||||
lualine_a = [ "mode" ];
|
||||
lualine_b = [ "filename" "branch" ];
|
||||
lualine_c = [
|
||||
{
|
||||
lsp_progress = {
|
||||
separators = {
|
||||
component = " ";
|
||||
progress = " | ";
|
||||
percentage = {
|
||||
pre = "";
|
||||
post = "%% ";
|
||||
};
|
||||
title = {
|
||||
pre = "";
|
||||
post = ": ";
|
||||
};
|
||||
lsp_client_name = {
|
||||
pre = "[";
|
||||
post = "]";
|
||||
};
|
||||
spinner = {
|
||||
pre = "";
|
||||
post = "";
|
||||
};
|
||||
message = {
|
||||
pre = "(";
|
||||
post = ")";
|
||||
commenced = "In Progress";
|
||||
completed = "Completed";
|
||||
};
|
||||
};
|
||||
display_components = [ "lsp_client_name" "spinner" "title" "percentage" "message" ];
|
||||
timer = {
|
||||
progress_enddelay = 500;
|
||||
spinner = 1000;
|
||||
lsp_client_name_enddelay = 1000;
|
||||
};
|
||||
spinner_symbols = [ "🌑 " "🌒 " "🌓 " "🌔 " "🌕 " "🌖 " "🌗 " "🌘 " ];
|
||||
};
|
||||
}
|
||||
];
|
||||
lualine_x = [ ];
|
||||
lualine_y = [ "encoding" "fileformat" "filetype" ];
|
||||
lualine_z = [ "location" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue