Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ let g:haskell_shqq = 0
let g:haskell_sql = 0
let g:haskell_json = 0
let g:haskell_xml = 0
let g:haskell_fold = 0
```

### HSP & Heist
Expand Down
4 changes: 3 additions & 1 deletion ftplugin/haskell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ call vim2hs#haskell#editing#includes()
call vim2hs#haskell#editing#keywords()
call vim2hs#haskell#editing#formatting()

call vim2hs#haskell#editing#folding()
if get(g:, 'haskell_fold', 1) == 1
call vim2hs#haskell#editing#folding()
endif

if executable('hlint')
command! -buffer -nargs=* HLint call vim2hs#with_compiler('hlint', <q-args>)
Expand Down