feat: Adding large changes to the neovim config, adding documentation to everything, and minor tweaks to zsh, tmux and wezterm

This commit is contained in:
2025-05-12 07:16:39 -05:00
parent 742b4d43a2
commit 1ad3cef941
6 changed files with 207 additions and 113 deletions

View File

@@ -42,10 +42,18 @@ return {
close = { 'q', '<Esc>' },
},
},
windows = { indent = 1 },
windows = {
indent = 1
},
render = {
max_type_length = nil,
},
ensure_installed = {
'codelldb',
'cpptools',
'debugpy',
},
})
end,
},
@@ -69,28 +77,42 @@ return {
dapui.close()
end
vim.fn.sign_define('DapBreakpoint', { text = '', texthl = '', lineh = '', numhl = '' })
-- vim.fn.sign_define('DapBreakpoint', { text = 'ᛒ', texthl = '', lineh = '', numhl = '' })
vim.fn.sign_define('DapBreakpoint', { text = '🟥', texthl = '', lineh = '', numhl = '' })
vim.fn.sign_define('DapBreakpointCondition', { text = '🝌', texthl = '', lineh = '', numhl = '' })
vim.fn.sign_define('DapStopped', { text = '' })
vim.fn.sign_define('DapStopped', { text = '▶️' })
dap.adapters.gdb = {
type = 'executable',
command = 'gdb',
args = { '-i', 'dap' }
args = { '-i', 'dap' },
}
dap.configurations.rust = {
{
name = 'Launch',
type = 'gdb',
request = 'launch',
program = function()
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
end,
cwd = '${workspaceFolder}',
stopAtBeginningOfMainSubprogram = false,
},
dap.adapters.lldb = {
type = 'executable',
command = 'lldb',
}
dap.adapters.debugpy = {
type = 'executable',
command = 'debugpy',
}
dap.configurations = {
-- rust = {
-- {
-- type = 'gdb',
-- name = 'Debug',
-- request = 'launch',
-- program = function()
-- return vim.fn.getcwd() .. '/target/debug/faultybranches'
-- end,
-- stopAtBeginningOfMainSubprogram = true,
-- },
-- },
}
require('dap.ext.vscode').load_launchjs('.launch.json', {})
end,
keys = {
{