-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
Description
Here's my setup:
-- using lazy.nvim
return {
"smjonas/inc-rename.nvim",
dependencies = { "stevearc/dressing.nvim" },
config = function()
local inc_rename = require("inc_rename")
inc_rename.setup({ input_buffer_type = "dressing" })
vim.keymap.set("n", "<leader>rn", function()
return ":IncRename " .. vim.fn.expand("<cword>")
end, { expr = true })
end,
}
The keybinding puts me in command mode with :IncRename theword
, but:
- No inc rename UI is visible in the buffer
- I get the following error message once I hit enter:
[inc-rename] An error occurred in the preview function. Please report this error here: https://github.com/smjonas/inc-rename.nvim/issues:
E116: Invalid arguments for function dictwatcherdel
Additionally, it leaves me in a weird state where I have to hit Ctrl-C
for the error message to go away.
Neovim version:
~/.dotfiles => nvim --version
NVIM v0.9.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3