aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt5
-rw-r--r--runtime/lua/vim/_meta/options.lua5
2 files changed, 8 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 972d2cce51..e94b72a260 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2132,7 +2132,10 @@ A jump table for the options with a short description can be found at |Q_op|.
difference.
word Use internal diff to perform a
|word|-wise diff and highlight the
- difference.
+ difference. Non-alphanumeric
+ multi-byte characters such as emoji
+ and CJK characters are considered
+ individual words.
internal Use the internal diff library. This is
ignored when 'diffexpr' is set. *E960*
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 0fc8518aa4..c032edf43c 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1729,7 +1729,10 @@ vim.go.dex = vim.go.diffexpr
--- difference.
--- word Use internal diff to perform a
--- `word`-wise diff and highlight the
---- difference.
+--- difference. Non-alphanumeric
+--- multi-byte characters such as emoji
+--- and CJK characters are considered
+--- individual words.
---
--- internal Use the internal diff library. This is
--- ignored when 'diffexpr' is set. *E960*