mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 11:35:41 +00:00
feat(nixvim): add more plugins
This commit is contained in:
parent
6f3f9c7a6d
commit
f3ec850f52
12 changed files with 73 additions and 0 deletions
|
@ -8,5 +8,16 @@
|
||||||
imports = [
|
imports = [
|
||||||
./plugins/bufferline.nix
|
./plugins/bufferline.nix
|
||||||
./plugins/lualine.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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
11
home/toast/programs/nixvim/plugins/cmp.nix
Normal file
11
home/toast/programs/nixvim/plugins/cmp.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.cmp = {
|
||||||
|
enable = true;
|
||||||
|
autoEnableSources = true;
|
||||||
|
settings.sources = [
|
||||||
|
{ name = "nvim_lsp"; }
|
||||||
|
{ name = "path"; }
|
||||||
|
{ name = "buffer"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
15
home/toast/programs/nixvim/plugins/colorizer.nix
Normal file
15
home/toast/programs/nixvim/plugins/colorizer.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/comment.nix
Normal file
3
home/toast/programs/nixvim/plugins/comment.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.comment.enable = true;
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/gitsigns.nix
Normal file
3
home/toast/programs/nixvim/plugins/gitsigns.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.gitsigns.enable = true;
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/nvim-autopairs.nix
Normal file
3
home/toast/programs/nixvim/plugins/nvim-autopairs.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.nvim-autopairs.enable = true;
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/nvim-tree.nix
Normal file
3
home/toast/programs/nixvim/plugins/nvim-tree.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.nvim-tree.enable = true;
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/telescope.nix
Normal file
3
home/toast/programs/nixvim/plugins/telescope.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.telescope.enable = true;
|
||||||
|
}
|
9
home/toast/programs/nixvim/plugins/treesitter.nix
Normal file
9
home/toast/programs/nixvim/plugins/treesitter.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.treesitter = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
highlight.enable = true;
|
||||||
|
indent.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
6
home/toast/programs/nixvim/plugins/wakatime.nix
Normal file
6
home/toast/programs/nixvim/plugins/wakatime.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.wakatime = {
|
||||||
|
enable = true;
|
||||||
|
autoLoad = true;
|
||||||
|
};
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/web-devicons.nix
Normal file
3
home/toast/programs/nixvim/plugins/web-devicons.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.web-devicons.enable = true;
|
||||||
|
}
|
3
home/toast/programs/nixvim/plugins/which-key.nix
Normal file
3
home/toast/programs/nixvim/plugins/which-key.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.which-key.enable = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue