aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-09-02 10:29:59 -0700
committerGitHub <noreply@github.com>2021-09-02 10:29:59 -0700
commit5f8518b3f04c2295be24912dba78d3e34ca74b91 (patch)
tree1c51cd68d33d562d0a7115a8c7bdf7e440332172 /runtime/doc/vim_diff.txt
parent622a36b1f1c652a8de433028bc4a03a1216db23f (diff)
downloadrneovim-5f8518b3f04c2295be24912dba78d3e34ca74b91.tar.gz
rneovim-5f8518b3f04c2295be24912dba78d3e34ca74b91.tar.bz2
rneovim-5f8518b3f04c2295be24912dba78d3e34ca74b91.zip
fix(defaults): "syntax sync maxlines=1" on CmdwinEnter #15552
I mistakenly suggested maxlines=&cmdwinheight, forgetting that it is calculated from topline, not cursor. maxlines=1 makes the most sense in cmdwin. ref #15401 622a36b1f1c652a8de433028bc4a03a1216db23f
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index e50ec7d520..4b134926a2 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -90,13 +90,10 @@ Default autocommands exist in the following groups. Use ":autocmd! {group}" to
remove them and ":autocmd {group}" to see how they're defined.
nvim_terminal:
-- BufReadCmd: New files with a name matching
- `term://(.{-}//(\d+:)?)?\zs.*` are treated as terminal
- buffers. |terminal-start|
+- BufReadCmd: Treats "term://" buffers as |terminal| buffers. |terminal-start|
nvim_cmdwin:
-- CmdWinEnter: Synchronize syntax highlighting within the command
- window.
+- CmdwinEnter: Limits syntax sync to maxlines=1 in the |cmdwin|.
==============================================================================
3. New Features *nvim-features*