fix(nvim): Tidy up config

This commit is contained in:
Jalil David Salamé Messina 2024-03-02 21:15:55 +01:00
parent 439eec75c3
commit f872b0e054
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -1,17 +1,24 @@
{ {
colorizer.enable = true; colorizer = {
colorizer.userDefaultOptions.names = false; # disable named colors (i.e. red) enable = true;
# disable named colors (i.e. red)
userDefaultOptions.names = false;
};
gitsigns.enable = true; gitsigns.enable = true;
lspconfig = import ./lspconfig.nix; lspconfig = import ./lspconfig.nix;
lspkind.enable = true; lspkind.enable = true;
lualine = import ./lualine.nix; lualine = import ./lualine.nix;
luasnip.enable = true; luasnip = {
luasnip.extraConfig = { update_events = "TextChanged,TextChangedI"; }; enable = true;
extraConfig = { update_events = "TextChanged,TextChangedI"; };
};
nvim-cmp = import ./cmp.nix; nvim-cmp = import ./cmp.nix;
telescope.enable = true; telescope.enable = true;
treesitter.enable = true; treesitter = {
treesitter.indent = true; enable = true;
treesitter.incrementalSelection.enable = true; indent = true;
incrementalSelection.enable = true;
};
treesitter-context.enable = true; treesitter-context.enable = true;
trouble.enable = true; trouble.enable = true;
lint = { lint = {