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
vim.g.loaded_netrw=1vim.g.loaded_netrwPlugin=1vim.cmd[[set runtimepath=$VIMRUNTIME]]vim.cmd[[set packpath=/tmp/nvt-min/site]]localpackage_root="/tmp/nvt-min/site/pack"localinstall_path=package_root.."/packer/start/packer.nvim"localfunctionload_plugins()
require("packer").startup {
{
"wbthomason/packer.nvim",
"nvim-tree/nvim-tree.lua",
"nvim-tree/nvim-web-devicons",
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config= {
package_root=package_root,
compile_path=install_path.."/plugin/packer_compiled.lua",
display= { non_interactive=true },
},
}
endifvim.fn.isdirectory(install_path) ==0thenprint"Installing nvim-tree and dependencies."vim.fn.system { "git", "clone", "--depth=1", "https://github.com/wbthomason/packer.nvim", install_path }
endload_plugins()
require("packer").sync()
vim.cmd[[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]]vim.opt.termguicolors=truevim.opt.cursorline=true-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE_G.setup=function()
require("nvim-tree").setup {}
end-- UNCOMMENT this block for diagnostics issues, substituting pattern and cmd as appropriate.-- Requires diagnostics.enable = true in setup.--[[vim.api.nvim_create_autocmd("FileType", { pattern = "lua", callback = function() vim.lsp.start { cmd = { "lua-language-server" } } end,})]]
Steps to reproduce
Y
E5108: Error executing lua: ...nd/site/pack/packer/start/master/lua/nvim-tree/utils.lua:71: attempt to index local 'path' (a nil value)
stack traceback:
...nd/site/pack/packer/start/master/lua/nvim-tree/utils.lua:71: in function 'path_relative'
...cker/start/master/lua/nvim-tree/actions/fs/clipboard.lua:347: in function <...cker/start/master/lua/nvim-tree/actions/fs/clipboard.lua:340>
y
[NvimTree] Copied .. to system clipboard!
gy
[NvimTree] Copied nil to system clipboard!
Expected behavior
No response
Actual behavior
No response
The text was updated successfully, but these errors were encountered:
Description
Neovim version
Operating system and version
Linux 6.10.10-arch1-1
Windows variant
No response
nvim-tree version
03ae603
Clean room replication
Steps to reproduce
Y
y
gy
Expected behavior
No response
Actual behavior
No response
The text was updated successfully, but these errors were encountered: