Problem: --remote-tab-silent can fail on MS-Windows.
Solution: Use single quotes to avoid problems with backslashes. (Idea by
Weiyong Mao)
* if haslocaldir()
* cd -
* lcd -
- * elseif getcwd() ==# "current path"
+ * elseif getcwd() ==# 'current path'
* cd -
* endif
* endif
*/
ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|");
- ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# \"");
+ ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# '");
ga_concat(&ga, cdp);
- ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>");
+ ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>");
vim_free(cdp);
if (sendReply)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 767,
/**/
766,
/**/