annotate runtime/ftplugin/group.vim @ 24739:68e3adbeaf20
v8.2.2908
patch 8.2.2908: crash when using a terminal popup window from cmdline window
Commit: https://github.com/vim/vim/commit/e5b4486c4279a9674a9bb76130b4db53fb9303a0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 30 13:54:03 2021 +0200
patch 8.2.2908: crash when using a terminal popup window from cmdline window
Problem: Crash when using a terminal popup window from the cmdline window.
Solution: Instead of checking cmdwin_type call cmdwin_is_active().
(closes #8286)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 30 May 2021 14:00:05 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
389
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: group(5) user group file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
389
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
15
|
|
16 setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|