Mercurial > vim
view runtime/ftplugin/haskell.vim @ 20330:a7dbf32b5cc0 v8.2.0720
patch 8.2.0720: occasional exit when encountering an X error
Commit: https://github.com/vim/vim/commit/b1062eb23e7a7a8b44f3416e79c3b28aa6c6c229
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 9 16:11:33 2020 +0200
patch 8.2.0720: occasional exit when encountering an X error
Problem: Occasional exit when encountering an X error. (Manfred Lotz)
Solution: On an X error do not exit, do preserve files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 May 2020 16:15:04 +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