add other format command with just nvim

This commit is contained in:
Christoph J. Scherr 2024-06-24 15:14:54 +02:00
parent 10f2d2c76e
commit e7dccf3053
1 changed files with 9 additions and 0 deletions

View File

@ -421,6 +421,15 @@ M.edit = {
"format buffer",
},
-- format with nvim
["<leader>fF"] = {
function()
vim.lsp.buf.format()
-- require("conform").format()
end,
"format buffer (no plugin)",
},
-- remove trailing whitespace
["<leader>fw"] = {
function()