Skip to content

E116: Incompatible with traces.vim: Invalid arguments for function dictwatcherdel #35

@fnune

Description

@fnune

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:

  1. No inc rename UI is visible in the buffer
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions