neovim-config/lua
Akianonymus 4801ec86f1 Add NvChadUpdate command and shortcut for it
map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua
2021-08-19 14:19:12 +05:30
..
plugins feat: Do not depend on user config | Fix merging of configs 2021-08-19 14:19:12 +05:30
telescope/_extensions
themes
chadrc.lua Add NvChadUpdate command and shortcut for it 2021-08-19 14:19:12 +05:30
default_config.lua Add NvChadUpdate command and shortcut for it 2021-08-19 14:19:12 +05:30
highlights.lua
mappings.lua Add NvChadUpdate command and shortcut for it 2021-08-19 14:19:12 +05:30
options.lua feat: Do not depend on user config | Fix merging of configs 2021-08-19 14:19:12 +05:30
packerInit.lua
pluginList.lua feat: Do not depend on user config | Fix merging of configs 2021-08-19 14:19:12 +05:30
theme.lua feat: Do not depend on user config | Fix merging of configs 2021-08-19 14:19:12 +05:30
utils.lua Add NvChadUpdate command and shortcut for it 2021-08-19 14:19:12 +05:30