diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-06-09 11:30:01 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 11:59:39 +0200 |
commit | 0cd44bb4a60253fbd44de5fcf9abdb1b7e373708 (patch) | |
tree | 93540f976985ff86a24e8b3c25bd87edfaaf097e /.vim | |
parent | 2774e906932d0607fc19fb5b257ceca5febd0e1d (diff) |
Update PickTheme vimscript
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/functions/pick-theme.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.vim/functions/pick-theme.vim b/.vim/functions/pick-theme.vim index e601a83..6160e92 100644 --- a/.vim/functions/pick-theme.vim +++ b/.vim/functions/pick-theme.vim @@ -7,8 +7,8 @@ function PickTheme (...) let name = get(a:, 1, "") - if name - exe "ru " . g:path . "/themes/" . name . ".vim" + if !empty(name) + exe "so " . g:path . "/themes/" . name . ".vim" return 0 endif |