aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt2
-rw-r--r--runtime/doc/eval.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index dbaba1b3ad..ee90d67cbc 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -515,6 +515,8 @@ DirChanged After the |current-directory| was changed.
Sets these |v:event| keys:
cwd: current working directory
scope: "global", "tab", "window"
+ changed_window: v:true if we fired the event
+ switching window (or tab)
Non-recursive (event cannot trigger itself).
*FileAppendCmd*
FileAppendCmd Before appending to a file. Should do the
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 800de63a55..6da89f5491 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1614,6 +1614,8 @@ v:event Dictionary of event data for the current |autocommand|. Valid
|CompleteChanged|.
scrollbar Is |v:true| if popup menu have scrollbar, or
|v:false| if not.
+ changed_window Is |v:true| if the the event fired
+ while changing window (or tab) on |DirChanged|.
*v:exception* *exception-variable*
v:exception The value of the exception most recently caught and not