view runtime/ftplugin/haskell.vim @ 15611:bfcd7ffe9ac2 v8.1.0813

patch 8.1.0813: FileChangedShell not sufficiently tested commit https://github.com/vim/vim/commit/0566e891f73897486de3f0ac194795eeca0097d6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 19:37:40 2019 +0100 patch 8.1.0813: FileChangedShell not sufficiently tested Problem: FileChangedShell not sufficiently tested. Solution: Add a more comprehensive test case.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 19:45:07 +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