mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
feat: Added cmd for ChadReload
This commit is contained in:
parent
9b4b288d01
commit
c02b1a063f
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue