Add vdebug

This commit is contained in:
Eugen Wissner 2025-01-04 02:21:11 +01:00
parent a8c4ea36cc
commit a49383f361
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
8 changed files with 18 additions and 15 deletions

View File

@ -0,0 +1 @@
vim.bo.expandtab = true

View File

@ -1 +0,0 @@
setlocal et

View File

@ -0,0 +1,3 @@
vim.bo.expandtab = true
vim.bo.tabstop = 2
vim.bo.shiftwidth = 2

View File

@ -1,4 +0,0 @@
setlocal et
setlocal ts=2
setlocal sts=2
setlocal sw=2

View File

@ -0,0 +1,3 @@
vim.bo.expandtab = true
vim.bo.tabstop = 2
vim.bo.shiftwidth = 2

View File

@ -1,4 +0,0 @@
setlocal et
setlocal ts=2
setlocal sts=2
setlocal sw=2

View File

@ -83,6 +83,7 @@ require('packer').startup(function()
'nvim-lua/plenary.nvim'
}
}
use 'vim-vdebug/vdebug'
-- nvim-cmp
use 'dcampos/nvim-snippy'
@ -368,4 +369,9 @@ dap.configurations.cpp = {
},
}
--
-- Vdebug
--
vim.g.vdebug_options = { port = '9000' }
EOF

View File

@ -4,7 +4,11 @@ if [ -x /opt/homebrew/bin/brew ]
then
eval "$(/opt/homebrew/bin/brew shellenv)"
PATH="$HOMEBREW_PREFIX/opt/bison/bin:/usr/local/bin:$PATH"
PATH="/usr/local/bin:$PATH"
for tool in flex bison
do
PATH="$HOMEBREW_PREFIX/opt/$tool/bin:$PATH"
done
for tool in libtool coreutils grep gnu-sed findutils make
do
PATH="$HOMEBREW_PREFIX/opt/$tool/libexec/gnubin:$PATH"
@ -14,11 +18,6 @@ else
export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
fi
if [ -d /opt/homebrew/opt/php@8.3 ]
then
PATH="/opt/homebrew/opt/php@8.3/bin:/opt/homebrew/opt/php@8.3/sbin:$PATH"
fi
if [ -d "$HOME/Android/Sdk" ]
then
export ANDROID_HOME="$HOME/Android/Sdk"