diff options
-rw-r--r-- | runtime/doc/builtin.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 | ||||
-rw-r--r-- | src/nvim/eval.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 0c239b223d..e678a8d804 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -398,7 +398,7 @@ bufload({buf}) *bufload()* refers to an existing file then the file is read. Otherwise the buffer will be empty. If the buffer was already loaded then there is no change. If the buffer is not related to a - file the no file is read (e.g., when 'buftype' is "nofile"). + file then no file is read (e.g., when 'buftype' is "nofile"). If there is an existing swap file for the file of the buffer, there will be no dialog, the buffer will be loaded anyway. The {buf} argument is used like with |bufexists()|. diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 7c98ed8849..14aae99971 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -534,7 +534,7 @@ function vim.fn.buflisted(buf) end --- refers to an existing file then the file is read. Otherwise --- the buffer will be empty. If the buffer was already loaded --- then there is no change. If the buffer is not related to a ---- file the no file is read (e.g., when 'buftype' is "nofile"). +--- file then no file is read (e.g., when 'buftype' is "nofile"). --- If there is an existing swap file for the file of the buffer, --- there will be no dialog, the buffer will be loaded anyway. --- The {buf} argument is used like with |bufexists()|. diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index d48a69f3d8..4e6688a4a1 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -747,7 +747,7 @@ M.funcs = { refers to an existing file then the file is read. Otherwise the buffer will be empty. If the buffer was already loaded then there is no change. If the buffer is not related to a - file the no file is read (e.g., when 'buftype' is "nofile"). + file then no file is read (e.g., when 'buftype' is "nofile"). If there is an existing swap file for the file of the buffer, there will be no dialog, the buffer will be loaded anyway. The {buf} argument is used like with |bufexists()|. |