aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-12-15 00:21:34 +0800
committerjdhao <jdhao@hotmail.com>2021-12-15 00:21:34 +0800
commitbbd642af1a8c27a3ea3a5af37272928230db40ab (patch)
treebd20055deae3fa81f49d7763f85c50df743b0704 /core
parent5215a601b9221f8b2276a9bbc7cc7f0e5f78d556 (diff)
renaming variables
Diffstat (limited to 'core')
-rw-r--r--core/themes.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/themes.vim b/core/themes.vim
index ced7384..87e29cc 100644
--- a/core/themes.vim
+++ b/core/themes.vim
@@ -61,7 +61,7 @@ let s:theme2dir = {
\ 'nord': 'nord.nvim',
\ 'doom_one': 'doom-one.nvim',
\ 'everforest' :'everforest',
- \ 'nightfox': 'nightfox.nvim'
+ \ 'nightfox': 'nightfox.nvim',
\ }
let s:theme = utils#RandElement(keys(s:theme2dir))
@@ -73,8 +73,8 @@ if !has_key(s:theme_setup_dict, s:theme)
finish
endif
-let s:res = utils#add_pack(s:theme2dir[s:theme])
-if !s:res
+let s:status = utils#add_pack(s:theme2dir[s:theme])
+if !s:status
echomsg printf("Theme %s not installed. Run PackerSync to install.", s:theme)
finish
endif