diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-15 00:21:34 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-15 00:21:34 +0800 |
| commit | bbd642af1a8c27a3ea3a5af37272928230db40ab (patch) | |
| tree | bd20055deae3fa81f49d7763f85c50df743b0704 /core | |
| parent | 5215a601b9221f8b2276a9bbc7cc7f0e5f78d556 (diff) | |
renaming variables
Diffstat (limited to 'core')
| -rw-r--r-- | core/themes.vim | 6 |
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 |
