mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-03 11:16:06 +00:00
I hate debuggers
This commit is contained in:
@@ -10,4 +10,5 @@ require "utils"
|
||||
require "dap-config"
|
||||
require "tests"
|
||||
require "documentation"
|
||||
require "build"
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
function BUILD()
|
||||
-- TODO: handle builds manually
|
||||
end
|
||||
@@ -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({
|
||||
|
||||
@@ -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>",
|
||||
})
|
||||
|
||||
@@ -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,4 +1,5 @@
|
||||
neovim
|
||||
python-pynvim
|
||||
ripgrep
|
||||
fd
|
||||
gfold
|
||||
|
||||
Reference in New Issue
Block a user