From 0cd44bb4a60253fbd44de5fcf9abdb1b7e373708 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 9 Jun 2020 11:30:01 +0200 Subject: Update PickTheme vimscript --- .vim/functions/pick-theme.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.vim') 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 -- cgit v1.1