configuration.nix/nvim/plugins/default.nix

33 lines
721 B
Nix
Raw Normal View History

{
2024-03-02 21:15:55 +01:00
colorizer = {
enable = true;
# disable named colors (i.e. red)
userDefaultOptions.names = false;
};
gitsigns.enable = true;
lspconfig = import ./lspconfig.nix;
lspkind.enable = true;
lualine = import ./lualine.nix;
2024-03-02 21:15:55 +01:00
luasnip = {
enable = true;
extraConfig = { update_events = "TextChanged,TextChangedI"; };
};
nvim-cmp = import ./cmp.nix;
telescope.enable = true;
2024-03-02 21:15:55 +01:00
treesitter = {
enable = true;
indent = true;
incrementalSelection.enable = true;
};
treesitter-context.enable = true;
trouble.enable = true;
lint = {
enable = true;
lintersByFt = {
rust = [ "typos" ];
latex = [ "chktex" "typos" ];
markdown = [ "typos" ];
};
};
}