Did you check the Readme and existing issues?
Neovim version (output of nvim -v)
NVIM v0.12.0-dev-533+g58d85cd03d
Operating system / version
Linux nuc11-archlinux 6.15.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Jun 2025 14:41:19 +0000 x86_64 GNU/Linux
Output of :LspInfo
==============================================================================
vim.lsp: 2 ⚠️
- LSP log level : WARN
- Log path: /home/winterreise/.local/state/nvim/lsp.log
- ⚠️ WARNING Log size: 655765 KB
vim.lsp: Active Clients ~
- clangd (id: 1)
- Version: clangd version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88) linux+grpc x86_64-unknown-linux-gnu
- Root directory: ~/GiteeRepositories/liboapicxx
- Command: { "clangd", "--background-index", "--suggest-missing-includes", "--offset-encoding=utf-16", "-j=2", "--clang-tidy", "--clang-tidy-checks=performance-*,bugprone-*", "--all-scopes-completion", "--completion-style=detailed", "--header-insertion=iwyu", "--pch-storage=disk", "--clang-tidy-checks=-*,llvm-*,clang-analyzer-*", "--cross-file-rename", "--compile-commands-dir=/home/winterreise/repo/build///Debug" }
- Settings: vim.empty_dict()
- Attached buffers: 11, 30, 67
- ccls (id: 2)
- Version: <unknown>
- Workspace folders:
/home/winterreise/repo
- Command: { "ccls" }
- Settings: vim.empty_dict()
- Attached buffers: 11, 30, 67
vim.lsp: Enabled Configurations ~
vim.lsp: File Watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients
vim.lsp: Position Encodings ~
- ⚠️ WARNING Found buffers attached to multiple clients with different position encodings.
- Buffer 11: UTF-16 (client id(s): 1), UTF-32 (client id(s): 2)
- Buffer 30: UTF-16 (client id(s): 1), UTF-32 (client id(s): 2)
- Buffer 67: UTF-16 (client id(s): 1), UTF-32 (client id(s): 2)
- ADVICE:
- Use the positionEncodings client capability to ensure all clients use the same position encoding
Describe the bug
vim.schedule callback: .../share/nvim/lazy/inc-rename.nvim/lua/inc_rename/init.lua:178: attempt to index local 'handle_references_result' (a nil value)
stack traceback:
.../share/nvim/lazy/inc-rename.nvim/lua/inc_rename/init.lua:178: in function 'handler'
/usr/share/nvim/runtime/lua/vim/lsp/client.lua:683: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Steps to reproduce
Config:
opts = {
preview_empty_name = false,
}
Just use IncRename try to rename a variable, every time we change the name, the issue happens. But the function works, just this noise error messages are shown.
Expected behavior
No error messages.
Did you check the Readme and existing issues?
Neovim version (output of nvim -v)
NVIM v0.12.0-dev-533+g58d85cd03d
Operating system / version
Linux nuc11-archlinux 6.15.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Jun 2025 14:41:19 +0000 x86_64 GNU/Linux
Output of :LspInfo
Describe the bug
Steps to reproduce
Config:
Just use
IncRenametry to rename a variable, every time we change the name, the issue happens. But the function works, just this noise error messages are shown.Expected behavior
No error messages.