diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-29 22:07:24 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-27 00:13:16 +0300 |
commit | 279e3410cf503a89d58d63b12032205c877707bc (patch) | |
tree | 7117a9895d5d1cc29f611ff36536664e149ac071 /runtime/doc/vim_diff.txt | |
parent | 90e2a043e3394f83eb5d5e32e13cda00d752f212 (diff) | |
download | rneovim-279e3410cf503a89d58d63b12032205c877707bc.tar.gz rneovim-279e3410cf503a89d58d63b12032205c877707bc.tar.bz2 rneovim-279e3410cf503a89d58d63b12032205c877707bc.zip |
doc: Update vim_diff.txt
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 11dde27868..6d4bd984a9 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -245,6 +245,17 @@ coerced to strings. See |id()| for more details, currently it uses |c_CTRL-R| pasting a non-special register into |cmdline| omits the last <CR>. +Lua interface (|if_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')` will print “TEST” as the error in Vim and “E5105: Error + while calling lua chunk: [string "<VimL compiled string>"]:1: TEST” in + Neovim. +- Lua has direct access to Neovim api via `vim.api`. +- Currently most of features are missing. + ============================================================================== 5. Missing legacy features *nvim-features-missing* *if_lua* *if_perl* *if_mzscheme* *if_tcl* |