mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Working config (until now)
This commit is contained in:
@@ -46,6 +46,15 @@
|
||||
};
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
action = ":lua vim.lsp.buf.format()<CR>";
|
||||
key = "<C-f>";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "Format buffer";
|
||||
};
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
action = ":q<CR>";
|
||||
key = "<C-q>";
|
||||
@@ -129,5 +138,32 @@
|
||||
};
|
||||
mode = "n";
|
||||
}
|
||||
# Dap
|
||||
{
|
||||
action.__raw = ''
|
||||
function()
|
||||
require("dap").toggle_breakpoint()
|
||||
end
|
||||
'';
|
||||
key = "<Space>b";
|
||||
mode = "n";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "Toggle breakpoint";
|
||||
};
|
||||
}
|
||||
{
|
||||
action.__raw = ''
|
||||
function()
|
||||
require("dapui").toggle()
|
||||
end
|
||||
'';
|
||||
key = "<Space>y";
|
||||
mode = "n";
|
||||
options = {
|
||||
silent = true;
|
||||
desc = "Toggle debugger";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user