Reformat
This commit is contained in:
parent
b17f2703fb
commit
ac044d172c
5 changed files with 31 additions and 28 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
local dap = require("dap")
|
||||
-- dap.configurations.c = {
|
||||
-- {
|
||||
|
|
|
|||
|
|
@ -103,9 +103,13 @@ wk.add({
|
|||
{ "<leader>ra", vim.lsp.buf.rename, desc = "Rename" },
|
||||
{ "<leader>ca", vim.lsp.buf.code_action, desc = "Code action" },
|
||||
{ "gr", vim.lsp.buf.references, desc = "Goto references" },
|
||||
{"<leader>fm", function()
|
||||
{
|
||||
"<leader>fm",
|
||||
function()
|
||||
vim.lsp.buf.format { async = true }
|
||||
end, desc = "Format" },
|
||||
end,
|
||||
desc = "Format"
|
||||
},
|
||||
})
|
||||
|
||||
-- DAP
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ local plugins = {
|
|||
require("neogit").setup({
|
||||
sections = {
|
||||
untracked = {
|
||||
folded = true;
|
||||
folded = true,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue