aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-08-10 09:53:56 -0500
committerGregory Anders <greg@gpanders.com>2023-08-10 09:53:56 -0500
commit3fb372eba48796b5d0a7758f91e168be8e70e183 (patch)
tree63f99758c8a4dca73a37ebd434bee62c88cd5d2b /runtime/doc/vim_diff.txt
parent6e703f778fe7836663ad93761db676d5e2528d3e (diff)
downloadrneovim-3fb372eba48796b5d0a7758f91e168be8e70e183.tar.gz
rneovim-3fb372eba48796b5d0a7758f91e168be8e70e183.tar.bz2
rneovim-3fb372eba48796b5d0a7758f91e168be8e70e183.zip
Use Lua autocommand and make TermClose autocommand global
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 15bb13d5a9..07b4572a27 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -133,6 +133,8 @@ remove them and ":autocmd {group}" to see how they're defined.
nvim_terminal:
- BufReadCmd: Treats "term://" buffers as |terminal| buffers. |terminal-start|
+- TermClose: A |terminal| buffer started with no arguments (which thus uses
+ 'shell') and which exits with no error is closed automatically.
nvim_cmdwin:
- CmdwinEnter: Limits syntax sync to maxlines=1 in the |cmdwin|.