Permalink
Browse files

Now sets foldmethod and foldmarker for quickfix window.

  • Loading branch information...
duskhacker committed Jun 6, 2011
1 parent 61488bc commit 4db8eb49204ba111272da2604492b6559b69fd4b
Showing with 2 additions and 0 deletions.
  1. +2 −0 plugin/sweet-vim-rspec.vim
@@ -14,5 +14,7 @@ function! SweetRunSpec()
"cexpr system(l:command . expand("~/.vim/plugin/sweet_vim_rspec_formatter.rb -f RSpec::Core::Formatters::VimFormatter ") . expand("%:p"). " -l " . line("."))
cexpr system(l:command . expand("~/.vim/plugin/sweet_vim_rspec_formatter.rb -f RSpec::Core::Formatters::VimFormatter ") . expand("%:p"))
cw
set foldmethod=marker
set foldmarker=+-+,-+-
endfunction
command! -nargs=0 SweetSpec call SweetRunSpec()

0 comments on commit 4db8eb4

Please sign in to comment.