Add lldb + required package
This commit is contained in:
parent
a39d7ffe66
commit
7da0aa0655
3 changed files with 17 additions and 3 deletions
10
README.md
Normal file
10
README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Required package
|
||||||
|
- ripgrep
|
||||||
|
- fd-find
|
||||||
|
- lldb-vscode (included with lldb package)
|
||||||
|
- lazygit
|
||||||
|
- rust-analyzer
|
||||||
|
- dartls (included with flutter)
|
|
@ -44,8 +44,9 @@ local function init()
|
||||||
|
|
||||||
-------------------- DAP -----------------------------------
|
-------------------- DAP -----------------------------------
|
||||||
map('n', '<A-b>', '<cmd>lua require\'dap\'.toggle_breakpoint()<CR>', opts)
|
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-v>', '<cmd>lua require\'dap\'.set_breakpoint(vim.fn.input(\'Breakpoint condition: \'))<CR>', opts)
|
||||||
map('n', '<A-o>', '<cmd>lua require\'dap\'.repl.open()<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 ---------------------------------
|
-------------------- FTerm ---------------------------------
|
||||||
map('n', '<F3>', '<CMD>lua require("FTerm").toggle()<CR>')
|
map('n', '<F3>', '<CMD>lua require("FTerm").toggle()<CR>')
|
||||||
|
|
|
@ -21,7 +21,10 @@ local function init()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
dap.configurations.c = dap.configurations.cpp
|
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
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue