diff --git a/plugins/by-name/chadtree/renamed-options.nix b/plugins/by-name/chadtree/renamed-options.nix index 720e75db..19260933 100644 --- a/plugins/by-name/chadtree/renamed-options.nix +++ b/plugins/by-name/chadtree/renamed-options.nix @@ -38,21 +38,44 @@ "options" "versionControl" ] - [ - "options" - "ignore" - "nameExact" - ] - [ - "options" - "ignore" - "nameGlob" - ] - [ - "options" - "ignore" - "pathGlob" - ] + + # IGNORE + # `ignore.*` was wrongly declared as an `options` suboption. + # The following declares correct renamed warnings that account for this prior mistake + # Initially reported in https://github.com/nix-community/nixvim/pull/3705 + { + old = [ + "options" + "ignore" + "nameExact" + ]; + new = [ + "ignore" + "name_exact" + ]; + } + { + old = [ + "options" + "ignore" + "nameGlob" + ]; + new = [ + "ignore" + "name_glob" + ]; + } + { + old = [ + "options" + "ignore" + "pathGlob" + ]; + new = [ + "ignore" + "path_glob" + ]; + } # VIEW [ diff --git a/tests/test-sources/plugins/by-name/chadtree/default.nix b/tests/test-sources/plugins/by-name/chadtree/default.nix index 5dc91df6..2521f577 100644 --- a/tests/test-sources/plugins/by-name/chadtree/default.nix +++ b/tests/test-sources/plugins/by-name/chadtree/default.nix @@ -44,16 +44,16 @@ session = true; show_hidden = false; version_control = true; - ignore = { - name_exact = [ - ".DS_Store" - ".directory" - "thumbs.db" - ".git" - ]; - name_glob = [ ]; - path_glob = [ ]; - }; + }; + ignore = { + name_exact = [ + ".DS_Store" + ".directory" + "thumbs.db" + ".git" + ]; + name_glob = [ ]; + path_glob = [ ]; }; view = { open_direction = "left";