annotate runtime/ftplugin/logtalk.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 |
5c5908e81e93 |
children |
|
rev |
line source |
1668
|
1 " Logtalk filetype plugin file
|
|
2 " Language: Logtalk
|
|
3 " Maintainer: Paulo Moura <pmoura@logtalk.org>
|
14519
|
4 " Latest Revision: 2018-08-03
|
1668
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 let b:undo_ftplugin = "setl ts< sw< fdm< fdc< ai< dict<"
|
|
12
|
14519
|
13 setlocal ts=4
|
1668
|
14 setlocal sw=4
|
|
15 setlocal fdm=syntax
|
14519
|
16 setlocal fdn=10
|
1668
|
17 setlocal fdc=2
|
|
18 setlocal autoindent
|
|
19 setlocal dict=$VIMRUNTIME/ftplugin/logtalk.dict
|