diff --git a/lua/custom/mappings.lua b/lua/custom/mappings.lua index a783009..9d35e04 100644 --- a/lua/custom/mappings.lua +++ b/lua/custom/mappings.lua @@ -421,6 +421,15 @@ M.edit = { "format buffer", }, + -- format with nvim + ["fF"] = { + function() + vim.lsp.buf.format() + -- require("conform").format() + end, + "format buffer (no plugin)", + }, + -- remove trailing whitespace ["fw"] = { function()