2014-07-10 21:05:51 -07:00
|
|
|
" Vim filetype plugin file
|
2017-11-05 21:05:54 -07:00
|
|
|
" Language: Haskell
|
2018-10-29 15:38:41 -07:00
|
|
|
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
2017-11-05 21:05:54 -07:00
|
|
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
2018-10-29 15:38:41 -07:00
|
|
|
" Latest Revision: 2018-08-27
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
|
|
|
|
|
|
|
let b:undo_ftplugin = "setl com< cms< fo<"
|
|
|
|
|
|
|
|
setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s
|
|
|
|
setlocal formatoptions-=t formatoptions+=croql
|
2018-10-29 15:38:41 -07:00
|
|
|
setlocal omnifunc=haskellcomplete#Complete
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|