nvim config stolen from @Lukacms
This commit is contained in:
9
nvim/scripts/get_vimspector_conf.sh
Normal file
9
nvim/scripts/get_vimspector_conf.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONFIG_FILE=$(find ~/.config/nvim/scripts/vimspector -type f | fzf)
|
||||
|
||||
if [[ -n $CONFIG_FILE ]]; then
|
||||
cp $CONFIG_FILE .
|
||||
else
|
||||
echo "No configuration has been copied."
|
||||
fi
|
||||
21
nvim/scripts/vimspector/conf/c/.vimspector.json
Normal file
21
nvim/scripts/vimspector/conf/c/.vimspector.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"configurations": {
|
||||
"Launch": {
|
||||
"adapter": "vscode-cpptools",
|
||||
"configuration": {
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/binary_name",
|
||||
"args": ["binary_name"],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
"stopAtEntry": true,
|
||||
"MIMode": "gdb",
|
||||
"logging": {
|
||||
"engineLogging": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user