Updated dap config to allow for rust debugging

This commit is contained in:
2023-03-14 23:14:53 +00:00
parent ac53964865
commit 797f02d131
4 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ local lldb = {
program = function()
return vim.fn.input(
'Path to executable: ',
vim.fn.getcwd() .. '/',
vim.fn.getcwd() .. '/target/debug/',
'file'
)
end,

View File

@ -4,7 +4,6 @@ lsp.preset('recommended')
lsp.ensure_installed({
'rust_analyzer',
'codelldb',
})
-- Fix Undefined global 'vim'