Mercurial > vim
annotate runtime/ftplugin/dune.vim @ 23923:be36288235af v8.2.2504
patch 8.2.2504: Vim9: crash when using an argument from a closure
Commit: https://github.com/vim/vim/commit/44ec21c467ddf481b422c787324ea08f375f6942
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 12 21:50:57 2021 +0100
patch 8.2.2504: Vim9: crash when using an argument from a closure
Problem: Vim9: crash when using an argument from a closure.
Solution: Check if gen_load_outer is NULL. (closes https://github.com/vim/vim/issues/7821)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Feb 2021 22:00:04 +0100 |
parents | 15fa3923cc49 |
children | 02939ae3aaca |
rev | line source |
---|---|
17261 | 1 " Language: Dune buildsystem |
2 " Maintainer: Markus Mottl <markus.mottl@gmail.com> | |
3 " Anton Kochkov <anton.kochkov@gmail.com> | |
23466 | 4 " URL: https://github.com/ocaml/vim-ocaml |
17261 | 5 " Last Change: |
6 " 2018 Nov 3 - Added commentstring (Markus Mottl) | |
7 " 2017 Sep 6 - Initial version (Etienne Millon) | |
8 | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin=1 | |
13 | |
14 set lisp | |
15 | |
16 " Comment string | |
17 setl commentstring=;\ %s | |
18 setl comments=:; | |
19 | |
20 setl iskeyword+=#,?,.,/ |