2024-02-16 20:10:20 +01:00
|
|
|
{
|
|
|
|
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"; };
|
|
|
|
};
|
2024-02-16 20:10:20 +01:00
|
|
|
nvim-cmp = import ./cmp.nix;
|
2024-03-02 21:42:38 +01:00
|
|
|
nvim-colorizer = {
|
|
|
|
enable = true;
|
|
|
|
userDefaultOptions = {
|
|
|
|
names = false; # disable named colors (i.e. red)
|
|
|
|
mode = "virtualtext";
|
|
|
|
};
|
|
|
|
};
|
2024-02-16 20:10:20 +01:00
|
|
|
telescope.enable = true;
|
2024-03-02 21:15:55 +01:00
|
|
|
treesitter = {
|
|
|
|
enable = true;
|
|
|
|
indent = true;
|
|
|
|
incrementalSelection.enable = true;
|
|
|
|
};
|
2024-02-16 20:10:20 +01:00
|
|
|
treesitter-context.enable = true;
|
|
|
|
trouble.enable = true;
|
2024-03-02 21:12:45 +01:00
|
|
|
lint = {
|
|
|
|
enable = true;
|
|
|
|
lintersByFt = {
|
|
|
|
rust = [ "typos" ];
|
|
|
|
latex = [ "chktex" "typos" ];
|
|
|
|
markdown = [ "typos" ];
|
|
|
|
};
|
|
|
|
};
|
2024-02-16 20:10:20 +01:00
|
|
|
}
|