This commit is contained in:
2025-03-22 19:09:57 +01:00
parent bfced18342
commit 4c42c37575
2 changed files with 23 additions and 0 deletions

View File

@@ -715,6 +715,26 @@ in {
dap = {
enable = true;
adapters = {
# gdb = {
# type = "executable";
# command = "gdb";
# name = "gdb";
# };
};
configurations = {
# cpp = [
# {
# name = "Launch file";
# type = "gdb";
# request = "launch";
# program = "''\${workspaceFolder}/a.out";
# cwd = "''\${workspaceFolder}";
# stopOnEntry = false;
# args = [];
# }
# ];
};
};
dap-virtual-text = {
enable = true;
@@ -789,6 +809,8 @@ in {
vim-dadbod.enable = true;
vim-dadbod-completion.enable = true;
vim-dadbod-ui.enable = true;
nvim-ufo.enable = true; # folds
};
extraConfigLua = ''
luasnip = require("luasnip")

View File

@@ -1,2 +1,3 @@
add-auto-load-safe-path /home/fredrikr/Programming/xv6-riscv64/riscv-hello-asm/oving1/.gdbinit
add-auto-load-safe-path /home/fredrikr/Programming/xv6-riscv64/riscv-hello-asm/oving2/.gdbinit
add-auto-load-safe-path /home/fredrikr/Programming/xv6-riscv64/riscv-hello-asm/oving3/.gdbinit