mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
api: Implement vim_command_output function
This function can be used by API clients to execute a command and capture the output.
This commit is contained in:

committed by
Justin M. Keyes

parent
c28adf15e6
commit
94f59fc9be
@@ -424,7 +424,8 @@ static struct vimvar {
|
||||
{VV_NAME("oldfiles", VAR_LIST), 0},
|
||||
{VV_NAME("windowid", VAR_NUMBER), VV_RO},
|
||||
{VV_NAME("progpath", VAR_STRING), VV_RO},
|
||||
{VV_NAME("job_data", VAR_LIST), 0}
|
||||
{VV_NAME("job_data", VAR_LIST), 0},
|
||||
{VV_NAME("command_output", VAR_STRING), 0}
|
||||
};
|
||||
|
||||
/* shorthand */
|
||||
|
Reference in New Issue
Block a user