aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-11-07 10:22:16 +0000
committerGitHub <noreply@github.com>2022-11-07 10:22:16 +0000
commit31ffc360f2a4aab469a95a55c532f376443bd5fe (patch)
tree76468e2027dd31ab6f9cff1ca0c5eedde45bb2ef
parentbdb98de2d16ce7185a0f53740e06511904fdd814 (diff)
downloadrneovim-31ffc360f2a4aab469a95a55c532f376443bd5fe.tar.gz
rneovim-31ffc360f2a4aab469a95a55c532f376443bd5fe.tar.bz2
rneovim-31ffc360f2a4aab469a95a55c532f376443bd5fe.zip
docs(news): add linematch (#20927)
-rw-r--r--runtime/doc/news.txt8
-rw-r--r--runtime/doc/vim_diff.txt1
2 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 5f29fa8da9..d339df8479 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -41,9 +41,17 @@ The following new APIs or features were added.
• When using Nvim inside tmux 3.2 or later, the default clipboard provider
will now copy to the system clipboard. |provider-clipboard|
+
• 'splitkeep' option to control the scroll behavior of horizontal splits.
+
• |nvim_select_popupmenu_item()| now supports |cmdline-completion| popup menu.
+• |'diffopt'| now includes a `linematch` option to enable a second-stage diff
+ on individual hunks to provide much more accurate diffs. This option is also
+ available to |vim.diff()|
+
+ See https://github.com/neovim/neovim/pull/14537.
+
==============================================================================
CHANGED FEATURES *news-changes*
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index da2b5e2466..fe6c28c809 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -267,6 +267,7 @@ Options:
'tabline' %@Func@foo%X can call any function on mouse-click
'winblend' pseudo-transparency in floating windows |api-floatwin|
'winhighlight' window-local highlights
+ 'diffopt' has the option `linematch`.
Signs:
Signs are removed if the associated line is deleted.