mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-14 18:12:52 +00:00
33 lines
507 B
Lua
33 lines
507 B
Lua
|
|
local M={};
|
|
|
|
M.dap={
|
|
n={
|
|
["<leader>db"]={
|
|
"<cmd> DapTogglBreakpoint <CR>",
|
|
"Toggle breakpoint"
|
|
},
|
|
["<leader>dus"]={
|
|
function ()
|
|
local widgets=require("dap.ui.widgets");
|
|
local sidebar=widgets.sidebar(widgets.scopes);
|
|
sidebar.open();
|
|
end,
|
|
"Open debugging sidebar"
|
|
}
|
|
}
|
|
};
|
|
|
|
M.crates={
|
|
n={
|
|
["<leader>rcu"]={
|
|
function ()
|
|
require("crates").upgrade_all_crates()
|
|
end,
|
|
"Update crates"
|
|
},
|
|
}
|
|
};
|
|
|
|
|
|
return M; |