1
0
Fork 0

Add lldb + required package

This commit is contained in:
Florian RICHER (MrDev023) 2021-11-18 23:00:34 +01:00
parent a39d7ffe66
commit 7da0aa0655
3 changed files with 17 additions and 3 deletions

10
README.md Normal file
View file

@ -0,0 +1,10 @@
## Installation
Required package
- ripgrep
- fd-find
- lldb-vscode (included with lldb package)
- lazygit
- rust-analyzer
- dartls (included with flutter)

View file

@ -44,8 +44,9 @@ local function init()
-------------------- DAP -----------------------------------
map('n', '<A-b>', '<cmd>lua require\'dap\'.toggle_breakpoint()<CR>', opts)
map('n', '<A-c>', '<cmd>lua require\'dap\'.continue()<CR>', opts)
map('n', '<A-o>', '<cmd>lua require\'dap\'.repl.open()<CR>', opts)
map('n', '<A-v>', '<cmd>lua require\'dap\'.set_breakpoint(vim.fn.input(\'Breakpoint condition: \'))<CR>', opts)
map('n', '<A-n>', '<cmd>lua require\'dap\'.continue()<CR>', opts)
map('n', '<A-o>', '<cmd>lua require\'dap\'.repl.toggle()<CR>', opts)
-------------------- FTerm ---------------------------------
map('n', '<F3>', '<CMD>lua require("FTerm").toggle()<CR>')

View file

@ -21,7 +21,10 @@ local function init()
},
}
dap.configurations.c = dap.configurations.cpp
dap.configurations.rust = dap.configurations.cpp
-- dap.configurations.rust = dap.configurations.cpp
-- dap.configurations.rust[1].program = function()
-- return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/target/debug/', 'file')
-- end
end
return {