From 74dc8d261d2a35f110cf92f5f7bc93d940e24cf6 Mon Sep 17 00:00:00 2001 From: Danny Guo Date: Sat, 4 Jun 2016 19:44:05 -0400 Subject: [PATCH] [GitFiles] Use system instead of systemlist systemlist doesn't exist before Vim 7.4:248. See jebaum/vim-tmuxify#18 --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index dbc0bbf..aa27194 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -405,7 +405,7 @@ function! s:git_status_sink(lines) abort endfunction function! fzf#vim#gitfiles(args, ...) - let root = systemlist('git rev-parse --show-toplevel')[0] + let root = split(system('git rev-parse --show-toplevel'), '\n')[0] if v:shell_error return s:warn('Not in git repo') endif