Hey all,

See ":h term_start()" under the section on options.

Just found out that term_start() supports "cwd" and "env", but they
aren't listed in the help entry for the function.  These are pretty
useful options... not sure what else is missing.

Thanks,
Jason


diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt                        
                                                                                
                
index 2c9c11439..f9508e82d 100644                                               
                                                                                
                
--- a/runtime/doc/eval.txt                                                      
                                                                                
                
+++ b/runtime/doc/eval.txt                                                      
                                                                                
                
@@ -8597,6 +8597,7 @@ term_start({cmd}, {options})                              
*term_start()*                                                                  
                
                   "in_io", "in_top", "in_bot", "in_name", "in_buf"             
                                                                                
                
                   "out_io", "out_name", "out_buf", "out_modifiable", "out_msg" 
                                                                                
                
                   "err_io", "err_name", "err_buf", "err_modifiable", "err_msg" 
                                                                                
                
+                  "env", "cwd"                                                 
                                                                                
                
                However, at least one of stdin, stdout or stderr must be        
                                                                                
                
                connected to the terminal.  When I/O is connected to the        
                                                                                
                
                terminal then the callback function for that part is not used.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui