From c02b1a063fd3ba8e6fef637af127ffa99e5cc33b Mon Sep 17 00:00:00 2001 From: ashincoder <83629316+ashincoder@users.noreply.github.com> Date: Wed, 25 Aug 2021 20:09:20 +0530 Subject: [PATCH] feat: Added cmd for ChadReload --- lua/core/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 5fb9764..b430da5 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -101,6 +101,10 @@ M.misc = function() -- add NvChadUpdate command and mapping cmd "silent! command! NvChadUpdate lua require('nvchad').update_nvchad()" map("n", maps.update_nvchad, ":NvChadUpdate ") + + -- add ChadReload command and maping + cmd "silent! command! NvChadReload lua require('chad_reload').Restart()" + end local function user_config_mappings()