Skip to content

Commit

Permalink
Prevent folds from automatically appearing in match listing
Browse files Browse the repository at this point in the history
This can happen if user has:

  set foldmethod=indent
  set foldlevelstart=0

See:

  https://wincent.com/issues/1619

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information
wincent committed Jul 23, 2010
1 parent 043a24a commit 6cace89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruby/command-t/match_window.rb
Expand Up @@ -64,6 +64,7 @@ def initialize options = {}
'setlocal nonumber', # don't show line numbers
'setlocal nolist', # don't use List mode (visible tabs etc)
'setlocal foldcolumn=0', # don't show a fold column at side
'setlocal foldlevel=99', # don't fold anything
'setlocal nocursorline', # don't highlight line cursor is on
'setlocal nospell', # spell-checking off
'setlocal nobuflisted', # don't show up in the buffer list
Expand Down

0 comments on commit 6cace89

Please sign in to comment.