Skip to content

Commit

Permalink
Fix neovim#22 - Escape ! in the command
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Oct 6, 2015
1 parent 813796a commit 8fdbcb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/fzf/vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,10 @@ function! fzf#vim#tags(...)
" We don't want to apply --ansi option when tags file is large as it makes
" processing much slower.
if getfsize(tagfile) > 1024 * 1024 * 20
let proc = 'grep -v ''^!'' '
let proc = 'grep -v ''^\!'' '
let copt = ''
else
let proc = 'perl -ne ''unless (/^!/) { s/^(.*?)\t(.*?)\t/\x1b[33m\1\x1b[m\t\x1b[34m\2\x1b[m\t/; print }'' '
let proc = 'perl -ne ''unless (/^\!/) { s/^(.*?)\t(.*?)\t/\x1b[33m\1\x1b[m\t\x1b[34m\2\x1b[m\t/; print }'' '
let copt = '--ansi '
endif
call s:fzf({
Expand Down

0 comments on commit 8fdbcb5

Please sign in to comment.