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
Checking for Lua dependencies ~- OK [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap) installed.Checking external dependencies ~- OK rust-analyzer: found rust-analyzer 0.3.1815-standalone- OK Cargo: found cargo 1.75.0 (1d8b05cdd 2023-11-20)- OK rustc: found rustc 1.75.0 (82e1608df 2023-12-21)- OK debug adapter: found codelldb Checking config ~- OK No errors found in config.Checking for conflicting plugins ~- OK No conflicting plugins detected.
Error executing luv callback:
vim/fs.lua:0: invalid value (nil) at index 1 in table for 'concat'
stack traceback:
[C]: in function 'concat'
vim/fs.lua: in function 'joinpath'
/tmp/minimal/rustaceanvim/lua/rustaceanvim/dap.lua:197: in function 'on_exit'
...nt_nvim3WUxQh/usr/share/nvim/runtime/lua/vim/_system.lua:297: in function <...nt_nvim3WUxQh/usr/share/nvim/runtime/lua/vim/_system.lua:267>
Doesn't actually break anything and happens only the first time, but the message popping up is annoying.
The error doesn't show up if dap.autoload_configurations is false.
The minimal config used to reproduce this issue.
-- Minimal nvim config with lazy-- Assumes a directory in $NVIM_DATA_MINIMAL-- Start with---- export NVIM_DATA_MINIMAL=$(mktemp -d)-- export NVIM_APP_NAME="nvim-ht-minimal"-- nvim -u minimal.lua---- Then exit out of neovim and start again.-- Ignore default configlocalconfig_path=vim.fn.stdpath("config")
vim.opt.rtp:remove(config_path)
-- Ignore default pluginslocaldata_path=vim.fn.stdpath("data")
localpack_path=data_path.."/site"vim.opt.packpath:remove(pack_path)
-- bootstrap lazy.nvimdata_path=assert(os.getenv("NVIM_DATA_MINIMAL"), "$NVIM_DATA_MINIMAL environment variable not set!")
locallazypath=data_path.."/lazy/lazy.nvim"localuv=vim.uv---@diagnosticdisable-next-line:deprecatedorvim.loopifnotuv.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"git@github.com:folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
endvim.opt.rtp:prepend(lazypath)
locallazy=require("lazy")
lazy.setup({
{
"mrcjkb/rustaceanvim",
version="^3",
init=function()
vim.g.rustaceanvim= {}
vim.keymap.set("n", "gd", vim.lsp.buf.definition, { desc="LSP: Go to definition" })
end,
ft= { "rust" },
},
{ "williamboman/mason.nvim", config=true },
{
"mfussenegger/nvim-dap",
dependencies= {
"williamboman/mason.nvim",
"jay-babu/mason-nvim-dap.nvim",
},
event="VeryLazy",
config=function()
require("mason-nvim-dap").setup({
automatic_installation=false,
ensure_installed= {
"codelldb",
},
})
localdap=require("dap")
vim.keymap.set("n", "<F5>", dap.continue, { desc="Debug: Start/Continue" })
vim.keymap.set("n", "<space>b", dap.toggle_breakpoint, { desc="Debug: Toggle Breakpoint" })
end,
},
-- Add any other plugins needed to reproduce the issue.-- see https://github.com/folke/lazy.nvim#-lazynvim for details.
}, { root=data_path, state=data_path.."/lazy-state.json", lockfile=data_path.."/lazy-lock.json" })
The text was updated successfully, but these errors were encountered:
Neovim version (nvim -v)
v0.10.0 (latest nightly)
Operating system/version
EndeavourOS
Output of :checkhealth rustaceanvim
How to reproduce the issue
Expected behaviour
No errors.
Actual behaviour
Shows error
Doesn't actually break anything and happens only the first time, but the message popping up is annoying.
The error doesn't show up if dap.autoload_configurations is false.
The minimal config used to reproduce this issue.
The text was updated successfully, but these errors were encountered: