view runtime/ftplugin/haskell.vim @ 18325:fc8f5b9aacfa v8.1.2157

patch 8.1.2157: libvterm source files missing from distribution Commit: https://github.com/vim/vim/commit/8f7b29f033305fafc237c8e56e4b04172fd62e32 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 17:15:18 2019 +0200 patch 8.1.2157: libvterm source files missing from distribution Problem: Libvterm source files missing from distribution. Solution: Rename source files. (closes https://github.com/vim/vim/issues/5065)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 17:30:03 +0200
parents 0ecb909e3249
children 6e346800670c
line wrap: on
line source

" Vim filetype plugin file
" Language:             Haskell
" Maintainer:           Daniel Campoverde <alx@sillybytes.net>
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2018-08-27

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
setlocal omnifunc=haskellcomplete#Complete

let &cpo = s:cpo_save
unlet s:cpo_save