mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat(neovim): finish transition to nixvim
This commit is contained in:
parent
052fded8e2
commit
2f4c2df735
31 changed files with 806 additions and 2131 deletions
44
users/myuser/neovim/appearance.nix
Normal file
44
users/myuser/neovim/appearance.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
programs.nixvim.plugins = {
|
||||
# Statusline
|
||||
lualine = {
|
||||
enable = true;
|
||||
extensions = ["fzf" "nvim-dap-ui" "symbols-outline" "trouble" "neo-tree" "quickfix" "fugitive"];
|
||||
componentSeparators = null;
|
||||
# componentSeparators.left = "|";
|
||||
# componentSeparators.right = "|";
|
||||
# sectionSeparators.left = "";
|
||||
# sectionSeparators.right = "";
|
||||
sections = {
|
||||
lualine_a = ["mode"];
|
||||
lualine_b = ["branch" "filename"];
|
||||
lualine_c = ["diff" "diagnostics"];
|
||||
lualine_x = ["encoding" "fileformat" "filetype"];
|
||||
lualine_y = ["progress"];
|
||||
lualine_z = ["location"];
|
||||
};
|
||||
inactiveSections = {
|
||||
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
|
||||
nvim-colorizer.enable = true;
|
||||
|
||||
# Breadcrumbs
|
||||
# TODO navic.enable = true; or dropbar?
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue