Skip to content

Commit f9a9ee7

Browse files
committed
📝 Fix buffer.concrete documentation
The current `concrete` function won't touch options mentioned in the documentation.
1 parent a7ea418 commit f9a9ee7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

buffer/buffer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,6 @@ export interface ReplaceOptions {
388388
/**
389389
* Concrete the buffer.
390390
*
391-
* - The `buftype` option become "nofile"
392-
* - The `swapfile` become disabled
393-
* - The `modifiable` become disabled
394-
* - The content of the buffer is restored on `BufReadCmd` synchronously
395-
*
396391
* Vim will discard the content of a non-file buffer when `:edit` is invoked. Use
397392
* this function to concrete the content of such buffer to prevent this discard.
398393
*

0 commit comments

Comments
 (0)