feat: Added cmd for ChadReload
This commit is contained in:
parent
9b4b288d01
commit
c02b1a063f
|
@ -101,6 +101,10 @@ M.misc = function()
|
||||||
-- add NvChadUpdate command and mapping
|
-- add NvChadUpdate command and mapping
|
||||||
cmd "silent! command! NvChadUpdate lua require('nvchad').update_nvchad()"
|
cmd "silent! command! NvChadUpdate lua require('nvchad').update_nvchad()"
|
||||||
map("n", maps.update_nvchad, ":NvChadUpdate <CR>")
|
map("n", maps.update_nvchad, ":NvChadUpdate <CR>")
|
||||||
|
|
||||||
|
-- add ChadReload command and maping
|
||||||
|
cmd "silent! command! NvChadReload lua require('chad_reload').Restart()"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local function user_config_mappings()
|
local function user_config_mappings()
|
||||||
|
|
Loading…
Reference in New Issue