vim-stylish-haskell icon indicating copy to clipboard operation
vim-stylish-haskell copied to clipboard

deletes code when combined with vim2hs

Open tko opened this issue 10 years ago • 1 comments

Using the following vimrc as vim -u vimrc

set nocompatible
filetype on
filetype off

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'

Bundle 'dag/vim2hs'
Bundle 'nbouscal/vim-stylish-haskell'

filetype plugin indent on
syntax on

saving a file such as

main :: IO ()
main = undefined

ends up with all the code deleted leaving only the type declaration.

On the other hand saving a file such as

main = undefined

--

seems to leave everything intact.

Not really sure what a good configuration for haskell would be (I happened to have vim2hs already) but deleting code like that seems kind of bad.

tko avatar Jun 04 '14 20:06 tko

I run into this problem too.

Xe avatar Aug 25 '15 07:08 Xe