view runtime/ftplugin/haskell.vim @ 15140:fd2286799026 v8.1.0580

patch 8.1.0580: invalid memory access when using text properties commit https://github.com/vim/vim/commit/2fa7fad831a860b627b5d6980aae0eeebfda0b3b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 13 23:05:56 2018 +0100 patch 8.1.0580: invalid memory access when using text properties Problem: Invalid memory access when using text properties. Solution: Disable text properties for now.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Dec 2018 23:15:05 +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