From aee29e51a6eb5db8f39c16f817527594d1c456d3 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 9 Feb 2019 16:38:36 +0100 Subject: API: nvim_create_buf: add `scratch` parameter Creating a scratch buffer is a chore/ritual, and would be more useful/common if formally exposed. --- runtime/doc/windows.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/doc') diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 44464c1cef..2e4b6f6e76 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1256,6 +1256,7 @@ directory Displays directory contents. Can be used by a file explorer < The buffer name is the name of the directory and is adjusted when using the |:cd| command. + *scratch-buffer* scratch Contains text that can be discarded at any time. It is kept when closing the window, it must be deleted explicitly. Settings: > -- cgit