Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no setlocal foldopen or ...close as explained in the Vim doc. #138

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Jul 9, 2014

  1. There is no local foldopen/close. See Vim doc.

    EPNGH authored and EPNGH committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    acf5470 View commit details
    Browse the repository at this point in the history
  2. There is no local foldopen/close. See Vim doc.

    If insist on this functionality, try adding
    ```
    autocmd BufReadPost quickfix call s:qfEnter()
    autocmd WinLeave * call s:qfLeave()
    function! s:qfEnter()
      let g:oldfc=&foldclose
      let g:oldfo=&foldopen
      set foldclose=all
      set foldopen=all
    endfunction
    function! s:qfLeave()
      if &filetype!='qf'
        return
      endif
      set foldclose=g:oldfc
      set foldopen=g:oldfo
    endfunction
    ```
    to `plugin\ack.vim`.
    EPNGH authored and EPNGH committed Jul 9, 2014
    Configuration menu
    Copy the full SHA
    600804c View commit details
    Browse the repository at this point in the history