I hate debuggers

This commit is contained in:
Zoe Roux
2022-03-16 00:28:28 +01:00
parent 2736c250a2
commit 5bd383f68e
7 changed files with 14 additions and 5 deletions
+1
View File
@@ -10,4 +10,5 @@ require "utils"
require "dap-config"
require "tests"
require "documentation"
require "build"
+3
View File
@@ -0,0 +1,3 @@
function BUILD()
-- TODO: handle builds manually
end
+4 -3
View File
@@ -6,7 +6,7 @@ end
dap.adapters = {
coreclr = {
type = 'executable',
command = 'netcoredbg',
command = '/usr/bin/netcoredbg',
args = {'--interpreter=vscode'}
},
}
@@ -18,12 +18,13 @@ dap.configurations = {
name = "launch - netcoredbg",
request = "launch",
program = function()
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
return "/home/anonymus-raccoon/projects/Kyoo/src/Kyoo.Host.Console/bin/Debug/net6.0/Kyoo.Host.Console.dll"
-- return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
end,
},
},
}
require('dap').set_log_level('TRACE')
local wk = require("which-key")
wk.register({
+1 -1
View File
@@ -16,7 +16,7 @@ neogen.setup({
local wk = require("which-key")
wk.register({
d = { "<cmd>Neogen any<cr>", "Generate documentation" },
n = { "<cmd>Neogen any<cr>", "Generate documentation" },
}, {
prefix = "<leader>",
})
+3 -1
View File
@@ -18,7 +18,9 @@ wk.register({
name = "Unit Tests",
r = { "<Plug>(ultest-run-nearest)", "Run nearest" },
o = { "<Plug>(ultest-output-show)", "Show test output" },
t = { "<Plug>(ultest-summary-toggle)", "Toggle the test window" },
a = { "<Plug>(ultest-attach)", "Attach to the nearest running test" },
s = { "<Plug>(ultest-stop-nearest)", "Stop the nearest test" },
t = { "<cmd>UltestSummary!<cr>", "Toggle the test window" },
},
}, {
prefix = "<leader>",
@@ -19,6 +19,7 @@ telescope.setup({
path_display = { "truncate" },
mappings = {
i = {
["<esc>"] = actions.close,
["<A-k>"] = actions.move_selection_previous,
["<A-j>"] = actions.move_selection_next,
},
+1
View File
@@ -1,4 +1,5 @@
neovim
python-pynvim
ripgrep
fd
gfold