We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c585344 commit bbcee04Copy full SHA for bbcee04
en/popup.txt
@@ -1,4 +1,4 @@
1
-*popup.txt* For Vim version 8.2. Last change: 2022 Jan 08
+*popup.txt* For Vim version 8.2. Last change: 2022 Apr 04
2
3
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -271,6 +271,11 @@ popup_create({what}, {options}) *popup_create()*
271
'buftype' set to "popup". That buffer will be wiped out once
272
the popup closes.
273
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
+
279
{options} is a dictionary with many possible entries.
280
See |popup_create-arguments| for details.
281
0 commit comments