34 lines
767 B
Nix
34 lines
767 B
Nix
{
|
|
gitsigns.enable = true;
|
|
lspconfig = import ./lspconfig.nix;
|
|
lspkind.enable = true;
|
|
lualine = import ./lualine.nix;
|
|
luasnip = {
|
|
enable = true;
|
|
extraConfig = { update_events = "TextChanged,TextChangedI"; };
|
|
};
|
|
nvim-cmp = import ./cmp.nix;
|
|
nvim-colorizer = {
|
|
enable = true;
|
|
userDefaultOptions = {
|
|
names = false; # disable named colors (i.e. red)
|
|
mode = "virtualtext";
|
|
};
|
|
};
|
|
telescope.enable = true;
|
|
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" ];
|
|
};
|
|
};
|
|
}
|