diff --git a/nvim/plugins/default.nix b/nvim/plugins/default.nix index 848fbed..98d97f7 100644 --- a/nvim/plugins/default.nix +++ b/nvim/plugins/default.nix @@ -1,17 +1,24 @@ { - colorizer.enable = true; - colorizer.userDefaultOptions.names = false; # disable named colors (i.e. red) + 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; - luasnip.enable = true; - luasnip.extraConfig = { update_events = "TextChanged,TextChangedI"; }; + luasnip = { + enable = true; + extraConfig = { update_events = "TextChanged,TextChangedI"; }; + }; nvim-cmp = import ./cmp.nix; telescope.enable = true; - treesitter.enable = true; - treesitter.indent = true; - treesitter.incrementalSelection.enable = true; + treesitter = { + enable = true; + indent = true; + incrementalSelection.enable = true; + }; treesitter-context.enable = true; trouble.enable = true; lint = {