Mercurial > vim
view runtime/ftplugin/haskell.vim @ 19445:6e27e1ffa2a6 v8.2.0280
patch 8.2.0280: Vim9: throw in :def function not caught higher up
Commit: https://github.com/vim/vim/commit/257cc5ee9593cd0653beca8b5945dc7fbf7f2d8d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 19 17:06:11 2020 +0100
patch 8.2.0280: Vim9: throw in :def function not caught higher up
Problem: Vim9: throw in :def function not caught higher up.
Solution: Set "need_rethrow".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Feb 2020 17:15:03 +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