From 03521537897297be09bda2deac547f53fcd17281 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 24 Feb 2016 12:08:22 +0900 Subject: [PATCH] [History] Fix invalid regular expression for filtering .git directory Close #91 --- 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 7b53c54..15a4c10 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -274,7 +274,7 @@ endfunction function! s:all_files() return extend( \ filter(reverse(copy(v:oldfiles)), - \ "v:val !~ 'fugitive:\\|__Tagbar__\\|NERD_tree\\|^/tmp/\\|.git/'"), + \ "v:val !~ 'fugitive:\\|__Tagbar__\\|NERD_tree\\|^/tmp/\\|\\.git/'"), \ filter(map(s:buflisted(), 'bufname(v:val)'), '!empty(v:val)')) endfunction