Skip to content

Commit bbcee04

Browse files
committed
popup.txt: Update Vim 8.2.4812
1 parent c585344 commit bbcee04

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

en/popup.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*popup.txt* For Vim version 8.2. Last change: 2022 Jan 08
1+
*popup.txt* For Vim version 8.2. Last change: 2022 Apr 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -271,6 +271,11 @@ popup_create({what}, {options}) *popup_create()*
271271
'buftype' set to "popup". That buffer will be wiped out once
272272
the popup closes.
273273

274+
if {what} is a buffer number and loading the buffer runs into
275+
an existing swap file, it is silently opened read-only, as if
276+
a |SwapExists| autocommand had set |v:swapchoice| to 'o'.
277+
This is because we assume the buffer is only used for viewing.
278+
274279
{options} is a dictionary with many possible entries.
275280
See |popup_create-arguments| for details.
276281

0 commit comments

Comments
 (0)