Updated dap config to allow for rust debugging

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

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"Lua.diagnostics.globals": [
"vim"
]
}

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'

View File

@ -3,7 +3,7 @@
# Update and install base packages
sudo pacman -Syu
sudo pacman -Sy xorg-xsetroot alacritty awesome-terminal-fonts ttf-jetbrains-mono gnome-keyring playerctl # DE Setup
sudo pacman -Sy neovim vifm neofetch fish htop networkmanager networkmanager-openvpn unzip ripgrep # Utilities
sudo pacman -Sy neovim vifm neofetch fish htop networkmanager networkmanager-openvpn unzip ripgrep lldb # Utilities
sudo pacman -Sy base-devel rustup go cmake docker # Dev
sudo pacman -Sy spotifyd discord # Userspace