Closed sid-6581 closed 4 months ago
I'm facing the same issue on debian!
Same issue, but set one of two fields below to false will deduplicate the documentation.
I guess maybe the runtime
already support something like the types
does.
-- set `runtime` to false
require("neodev").setup({
library = {
runtime = false, -- runtime path
types = true, -- full signature, docs and completion of vim.api, vim.treesitter, vim.lsp and others
},
})
or
-- set `types` to false
require("neodev").setup({
library = {
runtime = true, -- runtime path
types = false, -- full signature, docs and completion of vim.api, vim.treesitter, vim.lsp and others
},
})
Related: #175
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-d2d3885
Operating system/version
Windows 11
Describe the bug
When using neodev, I get multiple function definitions for most lua stuff:
Without neodev I get just one definition (in this case for the wrong version of Lua, so using neodev it is more correct):
Steps To Reproduce
Open the attached repro and press Shift-K on
require
Expected Behavior
Just one definition
Repro