From b0fd7f1d6ab2f86983839c881a27c8ccd8c2cd77 Mon Sep 17 00:00:00 2001 From: saygo-png Date: Mon, 3 Nov 2025 03:38:04 +0100 Subject: [PATCH] plugins/inc-rename: fix type in settings declaration Signed-off-by: saygo-png --- plugins/by-name/inc-rename/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/by-name/inc-rename/default.nix b/plugins/by-name/inc-rename/default.nix index 6ec6612a..17e2b9e1 100644 --- a/plugins/by-name/inc-rename/default.nix +++ b/plugins/by-name/inc-rename/default.nix @@ -46,9 +46,11 @@ lib.nixvim.plugins.mkNeovimPlugin { the behavior of command preview). ''; - input_buffer_type = defaultNullOpts.mkNullable (types.enum [ "dressing" ]) null '' - The type of the external input buffer to use. - ''; + input_buffer_type = + defaultNullOpts.mkNullable (with types; either (enum [ "dressing" ]) rawLua) null + '' + The type of the external input buffer to use. + ''; post_hook = defaultNullOpts.mkRaw null '' Callback to run after renaming, receives the result table (from LSP