aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-06-09 11:30:01 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:39 +0200
commit0cd44bb4a60253fbd44de5fcf9abdb1b7e373708 (patch)
tree93540f976985ff86a24e8b3c25bd87edfaaf097e /.vim
parent2774e906932d0607fc19fb5b257ceca5febd0e1d (diff)
Update PickTheme vimscript
Diffstat (limited to '.vim')
-rw-r--r--.vim/functions/pick-theme.vim4
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