From 64872fc51c46748eb3e0dc8d321dea76e4c1b27c Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Sun, 21 Apr 2024 06:02:18 +0500 Subject: [PATCH] fix --- nvim/lua/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua index 13a6fde..7fa04b9 100644 --- a/nvim/lua/keymaps.lua +++ b/nvim/lua/keymaps.lua @@ -39,7 +39,7 @@ window_map("j") window_map("k") window_map("l") -nvim_create_user_command("Format", "normal mzgg=G'zzz") +vim.api.nvim_create_user_command("Format", "normal mzgg=G'zzz", {}) ------------------------------------------------------------------------------ -- Plugin Maps --