Mercurial > vim
view runtime/ftplugin/elm.vim @ 21646:a640bc762196 v8.2.1373
patch 8.2.1373: Vim9: no error for assigning to non-existing script var
Commit: https://github.com/vim/vim/commit/f9b2b49663226235f94f08230fe9023caf80a6e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 5 14:34:14 2020 +0200
patch 8.2.1373: Vim9: no error for assigning to non-existing script var
Problem: Vim9: no error for assigning to non-existing script var.
Solution: Check that in Vim9 script the variable was defined. (closes https://github.com/vim/vim/issues/6630)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Aug 2020 14:45:03 +0200 |
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