2024-05-06 12:30:41 +03:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
let inherit (lib.nix2lua) nf; in
|
|
|
|
{
|
|
|
|
plugin.editorconfig-nvim.isDependency = lib.mkDefault true;
|
|
|
|
|
|
|
|
plugins = {
|
2024-05-06 16:30:56 +03:00
|
|
|
interface = {
|
|
|
|
colorizer = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
filetypes = lib.mkDefault [ "*" ];
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
byFiletype = lib.mkDefault {
|
|
|
|
css = { css = true; };
|
|
|
|
scss = { css = true; };
|
|
|
|
sass = { css = true; };
|
|
|
|
less = { css = true; };
|
|
|
|
};
|
|
|
|
overrideDefaults = lib.mkDefault {
|
|
|
|
names = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lualine = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
settings = lib.mkDefault {
|
|
|
|
sections = {
|
|
|
|
lualine_a = [
|
|
|
|
[ "filename" (nf "path" 1) ]
|
|
|
|
];
|
|
|
|
lualine_b = [ "branch" "diff" "diagnostics" ];
|
|
|
|
lualine_c = [ "lsp_progress" ];
|
|
|
|
lualine_x = [ "filesize" "filetype" ];
|
|
|
|
lualine_y = [ "progress" ];
|
|
|
|
lualine_z = [ "location" "mode" ];
|
|
|
|
};
|
2024-05-06 12:30:41 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
language-server.lspconfig.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
navigation = {
|
|
|
|
hop-nvim.enable = lib.mkDefault true;
|
|
|
|
nvim-tree.enable = lib.mkDefault true;
|
|
|
|
telescope = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
extensions = lib.mkDefault {
|
|
|
|
telescope-live-grep-args-nvim = { name = "live_grep_args"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
style = {
|
|
|
|
neoformat.enable = lib.mkDefault true;
|
|
|
|
nvim-treesitter.enable = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
|
|
|
|
theme.catppuccin = {
|
|
|
|
enable = lib.mkDefault true;
|
|
|
|
settings = lib.mkDefault {
|
|
|
|
flavour = "frappe";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gitsigns.enable = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
}
|