From caa6992a1071a2ac373bec21085685da4a1790d6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 27 Nov 2021 17:10:48 +0100 Subject: chore: fix typos (#16361) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault --- runtime/doc/vim_diff.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc/vim_diff.txt') diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index d88f4f42e8..956cb3e624 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -428,7 +428,7 @@ Working directory (Vim implemented some of these later than Nvim): - |DirChanged| can be triggered when switching to another window. - |getcwd()| and |haslocaldir()| may throw errors if the tab page or window cannot be found. *E5000* *E5001* *E5002* -- |haslocaldir()| only checks for tab-local directory when -1 is passed as +- |haslocaldir()| checks for tab-local directory if and only if -1 is passed as window number, and its only possible returns values are 0 and 1. - `getcwd(-1)` is equivalent to `getcwd(-1, 0)` instead of returning the global working directory. Use `getcwd(-1, -1)` to get the global working directory. -- cgit