mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
programs.nixvim.plugins = {
|
|
# Statusline
|
|
lualine = {
|
|
enable = true;
|
|
settings = {
|
|
extensions = [
|
|
"fzf"
|
|
"nvim-dap-ui"
|
|
"symbols-outline"
|
|
"trouble"
|
|
"neo-tree"
|
|
"quickfix"
|
|
"fugitive"
|
|
];
|
|
component_separators.left = null;
|
|
component_separators.right = null;
|
|
sections = {
|
|
lualine_a = [ "mode" ];
|
|
lualine_b = [
|
|
"branch"
|
|
"filename"
|
|
];
|
|
lualine_c = [
|
|
"diff"
|
|
"diagnostics"
|
|
];
|
|
lualine_x = [
|
|
"encoding"
|
|
"fileformat"
|
|
"filetype"
|
|
];
|
|
lualine_y = [ "progress" ];
|
|
lualine_z = [ "location" ];
|
|
};
|
|
inactive_sections = {
|
|
lualine_a = [ "filename" ];
|
|
lualine_b = [ ];
|
|
lualine_c = [ "diagnostics" ];
|
|
lualine_x = [ ];
|
|
lualine_y = [ ];
|
|
lualine_z = [ "location" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
# Line indentation markers
|
|
indent-blankline.enable = true;
|
|
|
|
# Rainbow parentheses
|
|
rainbow-delimiters.enable = true;
|
|
|
|
# Status updates for LSP progress in right bottom corner.
|
|
fidget.enable = true;
|
|
# Show colors
|
|
colorizer.enable = true;
|
|
|
|
# Breadcrumbs
|
|
# TODO navic.enable = true; or dropbar?
|
|
};
|
|
}
|