nix-config/users/tacocat/neovim/plugins.nix

55 lines
1 KiB
Nix
Raw Normal View History

2024-03-23 15:56:39 +00:00
{...}: {
programs.nixvim.plugins = {
telescope = {
enable = true;
2024-04-06 20:05:34 +00:00
keymaps = {
"<leader>g" = {
action = "git_files";
2024-04-10 01:38:45 +00:00
options.desc = "Telescope git files";
2024-04-06 20:05:34 +00:00
};
"<leader>d" = {
action = "diagnostics";
2024-04-10 01:38:45 +00:00
options.desc = "Telescope diagnostics";
2024-04-06 20:05:34 +00:00
};
"<leader>f" = {
action = "fd";
2024-04-10 01:38:45 +00:00
options.desc = "Telescope find files";
};
2024-04-06 20:05:34 +00:00
};
2024-03-23 15:56:39 +00:00
};
2024-03-27 23:33:22 +00:00
comment = {
2024-03-23 15:56:39 +00:00
enable = true;
};
markdown-preview = {
enable = true;
settings.browser = "firefox";
};
lualine = {
enable = true;
sectionSeparators = {
left = "";
right = "";
};
componentSeparators = {
left = "";
right = "";
};
};
luasnip = {
enable = true;
};
friendly-snippets.enable = true;
gitsigns = {
enable = true;
};
treesitter = {
enable = true;
nixvimInjections = true;
indent = true;
};
2024-04-06 20:05:34 +00:00
which-key = {
enable = true;
};
2024-03-23 15:56:39 +00:00
};
}