summaryrefslogtreecommitdiffstats
path: root/src/core.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-01-12 01:15:36 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-01-12 01:15:36 +0900
commit0f281ef89410cd581b581fd6087e9edd1832d1e8 (patch)
treee74db6aee7f9528bacf76cc05636f77508a5b1c4 /src/core.go
parentb18db4733c635705b3aa052efe91472432727c58 (diff)
[vim] Try to make 'dir' option compatible with &autochdir
When 'dir' option is passed to fzf#run(), the current working directory is temporarily changed to the given directory, and restored at the end. However, this behavior is not compatible with &autochdir. This commit introduces a heuristic to determine whether or not to restore the previous working directory. Related: https://github.com/junegunn/fzf.vim/issues/70
Diffstat (limited to 'src/core.go')
0 files changed, 0 insertions, 0 deletions