This commit is contained in:
nico
2025-03-31 15:15:23 +02:00
parent aef0a291da
commit 981a2edcb4
2 changed files with 12 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
lua-language-server
nil
ripgrep
lldb
];
programs.neovim = {

View File

@@ -121,6 +121,7 @@ require('lualine').setup()
require("dapui").setup()
require("ibl").setup()
-- -- Debugger
local dap, dapui = require("dap"), require("dapui")
dap.listeners.before.attach.dapui_config = function()
dapui.open()
@@ -135,6 +136,16 @@ dap.listeners.before.event_exited.dapui_config = function()
dapui.close()
end
-- c und rust
dap.adapters.lldb = {
type = 'executable',
command = 'lldb', -- adjust as needed, must be absolute path
name = 'lldb'
}
dap.configurations.c = dap.configurations.cpp
dap.configurations.rust = dap.configurations.cpp
--------------------------------------------
local builtin = require('telescope.builtin')
-- Telescope binds
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })