view runtime/ftplugin/haskell.vim @ 23080:8eed19bd0235 v8.2.2086

patch 8.2.2086: libvterm tests are only run on Linux Commit: https://github.com/vim/vim/commit/476268c387a05cfda9feaca8d1a5eeb535ed9f49 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 3 21:24:07 2020 +0100 patch 8.2.2086: libvterm tests are only run on Linux Problem: Libvterm tests are only run on Linux. Solution: Use static libraries. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7419)
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Dec 2020 21:30:04 +0100
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