From 6a75b4acc10de86e03d5adb923be9384247018f9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 23 Apr 2024 11:37:57 +0800 Subject: [PATCH] nixvimConfigs/fiesta: remove deprecated attributes to their updated versions --- configs/nixvim/fiesta/modules/setups/debugging.nix | 2 +- configs/nixvim/fiesta/modules/setups/fuzzy-finder.nix | 6 ++++-- configs/nixvim/fiesta/modules/setups/treesitter.nix | 10 ++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/configs/nixvim/fiesta/modules/setups/debugging.nix b/configs/nixvim/fiesta/modules/setups/debugging.nix index 36b5de2b..b95d2f39 100644 --- a/configs/nixvim/fiesta/modules/setups/debugging.nix +++ b/configs/nixvim/fiesta/modules/setups/debugging.nix @@ -14,7 +14,7 @@ in plugins.dap.extensions.dap-virtual-text.enable = true; plugins.debugprint = { enable = true; - ignoreTreesitter = false; + settings.ignore_treesitter = false; }; keymaps = diff --git a/configs/nixvim/fiesta/modules/setups/fuzzy-finder.nix b/configs/nixvim/fiesta/modules/setups/fuzzy-finder.nix index c7d65188..37433a71 100644 --- a/configs/nixvim/fiesta/modules/setups/fuzzy-finder.nix +++ b/configs/nixvim/fiesta/modules/setups/fuzzy-finder.nix @@ -11,8 +11,10 @@ in config = lib.mkIf cfg.enable { plugins.telescope.enable = true; - plugins.project-nvim.enable = lib.mkDefault true; - plugins.telescope.extensions.project-nvim.enable = config.plugins.project-nvim.enable; + plugins.project-nvim = { + enable = lib.mkDefault true; + enableTelescope = true; + }; # Configure all of the keymaps. keymaps = diff --git a/configs/nixvim/fiesta/modules/setups/treesitter.nix b/configs/nixvim/fiesta/modules/setups/treesitter.nix index 859e9a73..a9341cc0 100644 --- a/configs/nixvim/fiesta/modules/setups/treesitter.nix +++ b/configs/nixvim/fiesta/modules/setups/treesitter.nix @@ -50,10 +50,12 @@ in # Enable some more context for me. plugins.treesitter-context = { enable = true; - lineNumbers = true; - maxLines = 7; - mode = "cursor"; - separator = "*"; + settings = { + line_numbers = true; + max_lines = 7; + mode = "cursor"; + separator = "*"; + }; }; # Some niceties for refactoring.