summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index c94bb9ef..763747c3 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -424,10 +424,10 @@ try
throw v:exception
endtry
- if !has_key(dict, 'dir')
+ if !s:present(dict, 'dir')
let dict.dir = s:fzf_getcwd()
endif
- if has('win32unix') && has_key(dict, 'dir')
+ if has('win32unix') && s:present(dict, 'dir')
let dict.dir = fnamemodify(dict.dir, ':p')
endif