neovim-confs/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 tree-wide: Format files 2021-08-19 14:19:12 +05:30
themes tree-wide: Format files | Reformat chadrc | Misc (#268) 2021-08-17 23:21:10 +05:30
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 add bg to Floating window 2021-08-18 15:25:58 +05:30
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 chore: stylua formatting update (#261) 2021-08-16 13:19:09 +05:30
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