You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opened document_symbols view, and then fuzzy searched for something.
Few symbols were present more than once. Notably, they also rendered weirdly.
Screenshots, Traceback
Check the bottom of the list, those symbols already appear above, and they also render weirdly. Clicking them causes an exception:
E5108: Error executing lua: ....nvim/lua/neo-tree/sources/document_symbols/commands.lua:21: attempt to index local 'node' (a nil value)
stack traceback:
....nvim/lua/neo-tree/sources/document_symbols/commands.lua:21: in function <....nvim/lua/neo-tree/sources/document_symbols/commands.lua:19>
Steps to Reproduce
Open document_symbols view
Use fuzzy search on a nested symbol and land on the expanded view
You should extraneous elements at the bottom.
Expected Behavior
The items dont appear.
Your Configuration
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
-- add any other plugins here
}
localneotree_config= {
"nvim-neo-tree/neo-tree.nvim",
dependencies= { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
cmd= { "Neotree" },
keys= {
{ "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
},
opts= {
{
close_if_last_window=true,
window= { width=30 },
filesystem= {
follow_current_file= { enabled=true, leave_dirs_open=true },
use_libuv_file_watcher=true,
},
sources= { "filesystem", "buffers", "git_status", "document_symbols" },
source_selector= {
winbar=true,
sources= {
{ source="filesystem" },
{ source="buffers" },
{ source="git_status" },
{ source="document_symbols" },
},
}
}
},
}
table.insert(plugins, neotree_config)
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim Version (nvim -v)
v0.10.2
Operating System / Version
Linux 6.11.3-arch1-1
Describe the Bug
I opened document_symbols view, and then fuzzy searched for something.
Few symbols were present more than once. Notably, they also rendered weirdly.
Screenshots, Traceback
Check the bottom of the list, those symbols already appear above, and they also render weirdly. Clicking them causes an exception:
Steps to Reproduce
Expected Behavior
The items dont appear.
Your Configuration
The text was updated successfully, but these errors were encountered: