diff options
-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 |