Browse Source

change Neoformat to FormatWrite in whichkey bindings (#859)

William Goulois 4 năm trước cách đây
mục cha
commit
aeb6b2dd71
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/lv-which-key/config.lua

+ 1 - 1
lua/lv-which-key/config.lua

@@ -104,7 +104,7 @@ O.plugin.which_key = {
         "<cmd>Telescope lsp_workspace_diagnostics<cr>",
         "Workspace Diagnostics",
       },
-      f = { "<cmd>Neoformat<cr>", "Format" },
+      f = { "<cmd>FormatWrite<cr>", "Format" },
       i = { "<cmd>LspInfo<cr>", "Info" },
       j = { "<cmd>lua vim.lsp.diagnostic.goto_next({popup_opts = {border = O.lsp.popup_border}})<cr>", "Next Diagnostic" },
       k = { "<cmd>lua vim.lsp.diagnostic.goto_prev({popup_opts = {border = O.lsp.popup_border}})<cr>", "Prev Diagnostic" },