aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-17 06:07:19 +0800
committerGitHub <noreply@github.com>2022-02-17 06:07:19 +0800
commit4646ea1079de484c4217006f94c565ea508f2f40 (patch)
treee084eb9b32e6b986269194a6e4d450eccc16738b /runtime/doc/vim_diff.txt
parent8ab5ec4aaaeed27b1d8086d395171a52568378c2 (diff)
parent059d36e326e31fc9bc6055d7c999f86d94fa9bd5 (diff)
downloadrneovim-4646ea1079de484c4217006f94c565ea508f2f40.tar.gz
rneovim-4646ea1079de484c4217006f94c565ea508f2f40.tar.bz2
rneovim-4646ea1079de484c4217006f94c565ea508f2f40.zip
Merge pull request #17363 from zeertzjq/dirchangedpre
feat(events): add DirChangedPre
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 7892b82137..385ce34d70 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -433,7 +433,8 @@ Vimscript compatibility:
`this_session` does not alias to |v:this_session|
Working directory (Vim implemented some of these later than Nvim):
-- |DirChanged| can be triggered when switching to another window.
+- |DirChanged| and |DirChangedPre| can be triggered when switching to another
+ window or tab.
- |getcwd()| and |haslocaldir()| may throw errors if the tab page or window
cannot be found. *E5000* *E5001* *E5002*
- |haslocaldir()| checks for tab-local directory if and only if -1 is passed as