aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-23 12:16:55 +0200
committerJustin M. Keyes <justinkz@gmail.com>2023-06-25 17:25:47 +0200
commit49a7585981cdf7403e76a614558e602a98e64301 (patch)
treeec96c69f44cf0588e5a409fd9aea31662ad5abbe /runtime/doc/vim_diff.txt
parent036da0d07921e67090d1a62c9a4e382ca09d8584 (diff)
downloadrneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.gz
rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.bz2
rneovim-49a7585981cdf7403e76a614558e602a98e64301.zip
docs: autocmds, misc
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index c44595f237..686905537d 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -459,8 +459,9 @@ Lua interface (|lua.txt|):
- `:lua print("a\0b")` will print `a^@b`, like with `:echomsg "a\nb"` . In Vim
that prints `a` and `b` on separate lines, exactly like
`:lua print("a\nb")` .
-- `:lua error('TEST')` emits the error “E5105: Error while calling Lua chunk:
- [string "<Vimscript compiled string>"]:1: TEST”, whereas Vim emits only “TEST”.
+- `:lua error('TEST')` emits the error: >
+ E5108: Error executing lua: [string "<Vimscript compiled string>"]:1: TEST
+< whereas Vim emits only "TEST".
- Lua has direct access to Nvim |API| via `vim.api`.
- Lua package.path and package.cpath are automatically updated according to
'runtimepath': |lua-require|.