aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-17 09:03:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-17 09:03:22 +1200
commit4794df7cba484026164da1f79b82ff389a7af886 (patch)
treed372056c3c63e2c2019fcbb430b362b6360e4aec /vim
parentRemove a now-inaccurate comment (diff)
downloaddotfiles-4794df7cba484026164da1f79b82ff389a7af886.tar.gz
dotfiles-4794df7cba484026164da1f79b82ff389a7af886.zip
Correct existence check for Vim strftime() func
Diffstat (limited to 'vim')
-rw-r--r--vim/plugin/put_date.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim
index e78f5fcd..7848e95f 100644
--- a/vim/plugin/put_date.vim
+++ b/vim/plugin/put_date.vim
@@ -1,4 +1,4 @@
-if exists('loaded_put_date') || &compatible || !has('*strftime')
+if exists('loaded_put_date') || &compatible || !exists('*strftime')
finish
endif
let loaded_put_date = 1