2024-02-16 20:10:20 +01:00
|
|
|
{
|
2024-03-02 21:15:55 +01:00
|
|
|
colorizer = {
|
|
|
|
enable = true;
|
|
|
|
# disable named colors (i.e. red)
|
|
|
|
userDefaultOptions.names = false;
|
|
|
|
};
|
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;
|
|
|
|
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
|
|
|
}
|