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

"No fold found" #83

Open
thomie opened this issue Nov 2, 2014 · 1 comment
Open

"No fold found" #83

thomie opened this issue Nov 2, 2014 · 1 comment

Comments

@thomie
Copy link

thomie commented Nov 2, 2014

Folding functions inside Haskell files does not work for me. The fold column also stays empty. Cabal files can be folded however.

Tested with Vim 7.8.4 without any other plugins or vimrc settings on Ubuntu 14.04.

@thomie
Copy link
Author

thomie commented Nov 2, 2014

I think I found the cause. I had tried https://github.com/Twinside/vim-haskellFold before, on the same file. I am using:

""" Save folds on exit, restore folds on open
autocmd BufWinLeave * silent! mkview
autocmd BufWinEnter * silent! loadview

Which stores setlocal foldtext=HaskellFoldText() in the viewdir for that file, and vim2hs doesn't overwrite that setting.

Stop-gap solution: delete viewdir folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant