Skip to content
Snippets Groups Projects
Unverified Commit cd59e5d0 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[neovim] Set 'dir' to the current direcotry

parent 0b940e4b
No related branches found
No related tags found
No related merge requests found
......@@ -290,6 +290,10 @@ try
throw v:exception
endtry
if has('nvim') && !has_key(dict, 'dir')
let dict.dir = getcwd()
endif
if !has_key(dict, 'source') && !empty($FZF_DEFAULT_COMMAND)
let temps.source = tempname().(s:is_win ? '.bat' : '')
call writefile((s:is_win ? ['@echo off'] : []) + split($FZF_DEFAULT_COMMAND, "\n"), temps.source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment