diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-25 09:17:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 09:17:47 -0700 |
commit | 5ceb2238d3685255cd517ca87fd7edae9ed88811 (patch) | |
tree | 5972cd240cb18d50a7d56b3b5e0c1019c947e07a /runtime/doc/vim_diff.txt | |
parent | e59cf3b3a9ee0f9e9b4d2e01059dbdf185eb5685 (diff) | |
parent | 49a7585981cdf7403e76a614558e602a98e64301 (diff) | |
download | rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.gz rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.bz2 rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.zip |
Merge #24116 from justinmk/doc
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 5 |
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|. |