feat(nixvim): add more plugins

This commit is contained in:
lightly-toasted 2025-08-03 20:50:23 +09:00
parent 6f3f9c7a6d
commit f3ec850f52
12 changed files with 73 additions and 0 deletions

View file

@ -8,5 +8,16 @@
imports = [
./plugins/bufferline.nix
./plugins/lualine.nix
./plugins/cmp.nix
./plugins/comment.nix
./plugins/colorizer.nix
./plugins/nvim-autopairs.nix
./plugins/gitsigns.nix
./plugins/telescope.nix
./plugins/treesitter.nix
./plugins/nvim-tree.nix
./plugins/web-devicons.nix
./plugins/wakatime.nix
./plugins/which-key.nix
];
}

View file

@ -0,0 +1,11 @@
{
programs.nixvim.plugins.cmp = {
enable = true;
autoEnableSources = true;
settings.sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
];
};
}

View file

@ -0,0 +1,15 @@
{
programs.nixvim.plugins.colorizer = {
enable = true;
settings = {
filetypes = [ "*" ];
user_default_options = {
css = true;
tailwind = "both";
tailwind_opts = {
update_names = true;
};
};
};
};
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.comment.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.gitsigns.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.nvim-autopairs.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.nvim-tree.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.telescope.enable = true;
}

View file

@ -0,0 +1,9 @@
{
programs.nixvim.plugins.treesitter = {
enable = true;
settings = {
highlight.enable = true;
indent.enable = true;
};
};
}

View file

@ -0,0 +1,6 @@
{
programs.nixvim.plugins.wakatime = {
enable = true;
autoLoad = true;
};
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.web-devicons.enable = true;
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.which-key.enable = true;
}