Did you check the Readme and existing issues?
Neovim version (output of nvim -v)
Nvim version: 0.12.0-dev+gc2a196f19b
Operating system / version
macos 15.7.2
Output of :LspInfo
vim.lsp: ✅
- LSP log level : WARN
- Log path: /Users/rbhanot/.local/state/nvim/lsp.log
- Log size: 8658 KB
vim.lsp: Active Features ~
- folding_range
- Active buffers:
[4]: gopls (id: 3)
- semantic_tokens
- Active buffers:
[4]: gopls (id: 3)
- inline_completion
- Active buffers:
[4]: copilot (id: 1)
vim.lsp: Active Clients ~
- copilot (id: 1)
- Version: 1.390.0
- Root directory: ~/development/work/multiproducts/dcl
- Command: { "node", "/Users/rbhanot/.local/share/nvim/lazy/copilot.lua/copilot/js/language-server.js", "--stdio" }
- Settings: {
telemetry = {
telemetryLevel = "all"
}
}
- Attached buffers: 4
- null-ls (id: 2)
- Version: ? (no serverInfo.version response)
- Root directory: ~/development/work/multiproducts/dcl
- Command: <function @/Users/rbhanot/.local/share/nvim/lazy/none-ls.nvim/lua/null-ls/rpc.lua:61>
- Settings: {}
- Attached buffers: 4
- gopls (id: 3)
- Version: {"GoVersion":"go1.25.1","Path":"golang.org/x/tools/gopls","Main":{"Path":"golang.org/x/tools/gopls","Version":"v0.20.0","Sum":"h1:fxOYZXKl6IsOTKIh6IgjDbIDHlr5btOtOUkrGOgFDB4="},"Deps":[{"Path":"github.com/BurntSushi/toml","Version":"v1.5.0","Sum":"h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg="},{"Path":"github.com/fatih/camelcase","Version":"v1.0.0","Sum":"h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8="},{"Path":"github.com/fatih/gomodifytags","Version":"v1.17.1-0.20250423142747-f3939df9aa3c","Sum":"h1:dDSgAjoOMp8da3egfz0t2S+t8RGOpEmEXZubcGuc0Bg="},{"Path":"github.com/fatih/structtag","Version":"v1.2.0","Sum":"h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4="},{"Path":"github.com/fsnotify/fsnotify","Version":"v1.9.0","Sum":"h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k="},{"Path":"github.com/google/go-cmp","Version":"v0.7.0","Sum":"h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8="},{"Path":"golang.org/x/exp/typeparams","Version":"v0.0.0-20250620022241-b7579e27df2b","Sum":"h1:KdrhdYPDUvJTvrDK9gdjfFd6JTk8vA1WJoldYSi0kHo="},{"Path":"golang.org/x/mod","Version":"v0.26.0","Sum":"h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg="},{"Path":"golang.org/x/sync","Version":"v0.16.0","Sum":"h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw="},{"Path":"golang.org/x/sys","Version":"v0.34.0","Sum":"h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA="},{"Path":"golang.org/x/telemetry","Version":"v0.0.0-20250710130107-8d8967aff50b","Sum":"h1:DU+gwOBXU+6bO0sEyO7o/NeMlxZxCZEvI7v+J4a1zRQ="},{"Path":"golang.org/x/text","Version":"v0.27.0","Sum":"h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4="},{"Path":"golang.org/x/tools","Version":"v0.35.1-0.20250728180453-01a3475a31bc","Sum":"h1:ZRKyKRJl/YEWl9ScZwd6Ua6xSt7DE6tHp1I3ucMroGM="},{"Path":"golang.org/x/vuln","Version":"v1.1.4","Sum":"h1:Ju8QsuyhX3Hk8ma3CesTbO8vfJD9EvUBgHvkxHBzj0I="},{"Path":"honnef.co/go/tools","Version":"v0.7.0-0.dev.0.20250523013057-bbc2f4dd71ea","Sum":"h1:fj8r9irJSpolAGUdZBxJIRY3lLc4jH2Dt4lwnWyWwpw="},{"Path":"mvdan.cc/gofumpt","Version":"v0.8.0","Sum":"h1:nZUCeC2ViFaerTcYKstMmfysj6uhQrA2vJe+2vwGU6k="},{"Path":"mvdan.cc/xurls/v2","Version":"v2.6.0","Sum":"h1:3NTZpeTxYVWNSokW3MKeyVkz/j7uYXYiMtXRUfmjbgI="}],"Settings":[{"Key":"-buildmode","Value":"exe"},{"Key":"-compiler","Value":"gc"},{"Key":"DefaultGODEBUG","Value":"containermaxprocs=0,decoratemappings=0,tlssha1=1,updatemaxprocs=0,x509sha256skid=0"},{"Key":"CGO_ENABLED","Value":"1"},{"Key":"CGO_CFLAGS"},{"Key":"CGO_CPPFLAGS"},{"Key":"CGO_CXXFLAGS"},{"Key":"CGO_LDFLAGS"},{"Key":"GOARCH","Value":"arm64"},{"Key":"GOOS","Value":"darwin"},{"Key":"GOARM64","Value":"v8.0"}],"Version":"v0.20.0"}
- Root directory: ~/development/work/multiproducts/dcl
- Command: { "gopls" }
- Settings: {
gopls = {
analyses = {
nilness = true,
unusedparams = true,
unusedwrite = true,
useany = true
},
codelenses = {
gc_details = false,
generate = true,
regenerate_cgo = true,
run_govulncheck = true,
test = true,
tidy = true,
upgrade_dependency = true,
vendor = true
},
completeUnimported = true,
directoryFilters = { "-.git", "-.vscode", "-.idea", "-.vscode-test", "-node_modules" },
gofumpt = true,
hints = {
assignVariableTypes = true,
compositeLiteralFields = true,
compositeLiteralTypes = true,
constantValues = true,
functionTypeParameters = true,
parameterNames = true,
rangeVariableTypes = true
},
semanticTokens = true,
staticcheck = true,
usePlaceholders = true
}
}
Describe the bug
I apologize if the title isn't very clear; however, I have been observing that inc-rename fails to rename the symbols randomly in the middle of a session. After I restart neovim and try renaming it, it works; however, again after some time it stops working.
I have not been able to narrow it down or figure out when why exactly it happens. If I disable the plugin and continue using the default vim.lsp.buf.rename, it works without any issues.
Below is the error I get when this happens
Error 17:00:29 notify.error "[inc-rename] An error occurred in the preview function. Please report this error here: https://github.com/smjonas/inc-rename.nvim/issues:
E216: No such group or event: FileExplorer *
Nvim version: 0.12.0-dev+gc2a196f19b
Active language servers: { "copilot", "null-ls", "gopls" }
Buffer name: /Users/rbhanot/app/app.go
For reference, I am using LazyVim.
Steps to reproduce
Not sure how would I reproduce this, as this happens very randomly.
Expected behavior
The rename should not fail.
Did you check the Readme and existing issues?
Neovim version (output of nvim -v)
Nvim version: 0.12.0-dev+gc2a196f19b
Operating system / version
macos 15.7.2
Output of :LspInfo
vim.lsp: ✅
vim.lsp: Active Features ~
[4]: gopls (id: 3)
[4]: gopls (id: 3)
[4]: copilot (id: 1)
vim.lsp: Active Clients ~
telemetry = {
telemetryLevel = "all"
}
}
gopls = {
analyses = {
nilness = true,
unusedparams = true,
unusedwrite = true,
useany = true
},
codelenses = {
gc_details = false,
generate = true,
regenerate_cgo = true,
run_govulncheck = true,
test = true,
tidy = true,
upgrade_dependency = true,
vendor = true
},
completeUnimported = true,
directoryFilters = { "-.git", "-.vscode", "-.idea", "-.vscode-test", "-node_modules" },
gofumpt = true,
hints = {
assignVariableTypes = true,
compositeLiteralFields = true,
compositeLiteralTypes = true,
constantValues = true,
functionTypeParameters = true,
parameterNames = true,
rangeVariableTypes = true
},
semanticTokens = true,
staticcheck = true,
usePlaceholders = true
}
}
Describe the bug
I apologize if the title isn't very clear; however, I have been observing that inc-rename fails to rename the symbols randomly in the middle of a session. After I restart neovim and try renaming it, it works; however, again after some time it stops working.
I have not been able to narrow it down or figure out when why exactly it happens. If I disable the plugin and continue using the default
vim.lsp.buf.rename, it works without any issues.Below is the error I get when this happens
For reference, I am using LazyVim.
Steps to reproduce
Not sure how would I reproduce this, as this happens very randomly.
Expected behavior
The rename should not fail.