Skip to content

Commit

Permalink
fixes #124
Browse files Browse the repository at this point in the history
  • Loading branch information
kassio committed Apr 22, 2014
1 parent 945b3a7 commit 52b0756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/qf.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if g:ack_autofold_results
if exists("g:ack_autofold_results") && g:ack_autofold_results
setlocal foldlevel=0
setlocal foldmethod=expr
setlocal foldexpr=matchstr(getline(v:lnum),'^[^\|]\\+')==#matchstr(getline(v:lnum+1),'^[^\|]\\+')?1:'<1'
Expand Down

0 comments on commit 52b0756

Please sign in to comment.