From a49fcc782ad4e84ae68c69393604f2702da913b9 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Mon, 6 Oct 2025 23:02:57 -0400 Subject: Updated Neovim Config --- .config/nvim/after/plugin/nvim-dap-lldb.lua | 35 ----------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .config/nvim/after/plugin/nvim-dap-lldb.lua (limited to '.config/nvim/after/plugin/nvim-dap-lldb.lua') diff --git a/.config/nvim/after/plugin/nvim-dap-lldb.lua b/.config/nvim/after/plugin/nvim-dap-lldb.lua deleted file mode 100644 index 7123093..0000000 --- a/.config/nvim/after/plugin/nvim-dap-lldb.lua +++ /dev/null @@ -1,35 +0,0 @@ -local dap = require('dap') -dap.adapters.lldb = { - type = 'executable', - command = os.getenv( "HOME" ) .. '/.local/share/nvim/mason/bin/codelldb', -- adjust as needed, must be absolute path - name = 'lldb' -} - -local dap = require('dap') -dap.configurations.c = { - { - name = 'Launch', - type = 'lldb', - request = 'launch', - program = function() - return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/build/', 'file') - end, - cwd = '${workspaceFolder}', - stopOnEntry = false, - args = {}, - - -- 💀 - -- if you change `runInTerminal` to true, you might need to change the yama/ptrace_scope setting: - -- - -- echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope - -- - -- Otherwise you might get the following error: - -- - -- Error on launch: Failed to attach to the target process - -- - -- But you should be aware of the implications: - -- https://www.kernel.org/doc/html/latest/admin-guide/LSM/Yama.html - -- runInTerminal = false, - }, -} -dap.configurations.cpp = dap.configurations.c -- cgit v1.2.3