xref: /vim-8.2.3635/runtime/ftplugin/haskell.vim (revision fc65cabb)
1" Vim filetype plugin file
2" Language:             Haskell
3" Maintainer:           Daniel Campoverde <[email protected]>
4" Previous Maintainer:  Nikolai Weibull <[email protected]>
5" Latest Revision:      2018-08-27
6
7if exists("b:did_ftplugin")
8  finish
9endif
10let b:did_ftplugin = 1
11
12let s:cpo_save = &cpo
13set cpo&vim
14
15let b:undo_ftplugin = "setl com< cms< fo<"
16
17setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s
18setlocal formatoptions-=t formatoptions+=croql
19setlocal omnifunc=haskellcomplete#Complete
20
21let &cpo = s:cpo_save
22unlet s:cpo_save
23