aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2021-08-23 12:47:54 +0100
committerGitHub <noreply@github.com>2021-08-23 13:47:54 +0200
commitc5d76c5b9beb7bd0786dcdee377074f0da8bb3ac (patch)
tree34f5b2b790485cb7a8e74bd9cb6315bea677f94c
parent34b60ec894dd0c7347c13916c71c48404dd76421 (diff)
downloadrneovim-c5d76c5b9beb7bd0786dcdee377074f0da8bb3ac.tar.gz
rneovim-c5d76c5b9beb7bd0786dcdee377074f0da8bb3ac.tar.bz2
rneovim-c5d76c5b9beb7bd0786dcdee377074f0da8bb3ac.zip
fix(doc): example for vim.diff() (#15464)
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 28667d5bd1..5f874a59d7 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -631,7 +631,7 @@ vim.diff({a}, {b}, {opts}) *vim.diff()*
+b
+c
- vim.diff('a\n', 'b\nc\n', {hunk_lines = true})
+ vim.diff('a\n', 'b\nc\n', {result_type = 'indices'})
-->
{
{1, 1, 1, 2}