Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion vim/my.nvim/lua/lsp/servers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ local function rust_debug_single(command)
if vim.g.rnvim then
local ws = require("rnvim.workspace").current()
if ws and ws.host ~= "local" then
vim.notify("debugging remote runnables is not supported", vim.log.levels.WARN)
local ok, rdap = pcall(require, "rnvim.dap.rust")
if ok and rdap.debug_runnable then
rdap.debug_runnable(runnable)
else
vim.notify("remote debugging needs a newer rnvim (rnvim.dap.rust missing)", vim.log.levels.WARN)
end
return
end
end
Expand Down
7 changes: 2 additions & 5 deletions vim/my.nvim/lua/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ local rnvim_excluded = {
["vim-dispatch"] = true,
["cmake4vim"] = true,
["vista.vim"] = true,
["nvim-dap"] = true,
["nvim-nio"] = true,
["nvim-dap-ui"] = true,
["nvim-dap-virtual-text"] = true,
["persistent-breakpoints.nvim"] = true,
-- NOTE: the nvim-dap stack stays INCLUDED: rnvim.dap debugs remote
-- runnables through it (adapter runs remotely, client UI is local)
["nvim-coverage"] = true,
["markdown-preview.nvim"] = true,
["vimtex"] = true,
Expand Down
Loading