diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-07-18 13:42:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 13:42:07 +0200 |
commit | 44b4f8c6e9645da133a9f222640d3a2b0f3e45f7 (patch) | |
tree | 3e55cbeaac59b359e21c79e38c1e5c900dfb7af4 /runtime/doc/eval.txt | |
parent | cd6e7e8cf302f7d2397c89a65a483f9cd543f9dd (diff) | |
parent | 061545068816ac346addf0fecdc2f554983251f4 (diff) | |
download | rneovim-44b4f8c6e9645da133a9f222640d3a2b0f3e45f7.tar.gz rneovim-44b4f8c6e9645da133a9f222640d3a2b0f3e45f7.tar.bz2 rneovim-44b4f8c6e9645da133a9f222640d3a2b0f3e45f7.zip |
Merge #8679 from justinmk/doc
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index d71bbf2528..c460e65c64 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1528,8 +1528,8 @@ v:event Dictionary of event data for the current |autocommand|. Valid event, e.g. |DirChanged| or |TextYankPost|. KEY DESCRIPTION ~ abort Whether the event triggered during - an aborting condition, i e |c_Esc| or - |c_CTRL-c|for |CmdlineLeave|. + an aborting condition (e.g. |c_Esc| or + |c_CTRL-c| for |CmdlineLeave|). cmdlevel Level of cmdline. cmdtype Type of cmdline, |cmdline-char|. cwd Current working directory. @@ -4995,6 +4995,9 @@ jobstart({cmd}[, {opts}]) *jobstart()* :call jobstart(split(&shell) + split(&shellcmdflag) + ['{cmd}']) < (See |shell-unquoting| for details.) + Example: > + :call jobstart('nvim -h', {'on_stdout':{j,d,e->append(line('.'),d)}}) +< Returns |job-id| on success, 0 on invalid arguments (or job table is full), -1 if {cmd}[0] or 'shell' is not executable. For communication over the job's stdio, it is represented as a |