view runtime/ftplugin/elm.vim @ 23009:1fa84623fc68 v8.2.2051

patch 8.2.2051: Vim9: crash when aborting a user function call Commit: https://github.com/vim/vim/commit/34c54eb6cbda5dbc14376c8b1c62ad11d4852793 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 25 19:15:19 2020 +0100 patch 8.2.2051: Vim9: crash when aborting a user function call Problem: Vim9: crash when aborting a user function call. Solution: Do not use the return value when aboring. (closes https://github.com/vim/vim/issues/7372)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Nov 2020 19:30:04 +0100
parents 661eb972cb22
children 4d76b3e07c07
line wrap: on
line source

" Elm filetype plugin file
" Language: Elm
" Maintainer: Andreas Scharf <as@99n.de>
" Latest Revision: 2020-05-29

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

setlocal comments=s1fl:{-,mb:\ ,ex:-},:--
setlocal commentstring=--\ %s

let &cpo = s:cpo_save
unlet s:cpo_save