Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-27 Thread Alexas Chee
Hi, Ken, thanks for the reply. I have no vimrc/.vimrc/_vimrc in both $HOME. Anything in $HOME that connects to vim is _viminfo. This is just a history file. My gvim is in d:\vim\vim74. And in both cases output of :scriptnames have the same line "d:\vim\_vimrc". And here's how I start gvim in m

Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-27 Thread Ken Takata
Hi, 2016/2/28 Sun 2:18:54 UTC+9 Alexas Chee wrote: > Yes, the _vimrc is the same one. > > $HOME is different, though. The Windows one is C:\user\myname; the mingw64 > one is msys2/home/myname. > > But does $HOME matter in this case? Vim will load .vimrc from $HOME. So you might get different

Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-27 Thread Alexas Chee
Hi, Yes, the _vimrc is the same one. $HOME is different, though. The Windows one is C:\user\myname; the mingw64 one is msys2/home/myname. But does $HOME matter in this case? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are

Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-26 Thread Ken Takata
Hi, 2016/2/26 Fri 17:16:41 UTC+9 Alexas Chee wrote: > I just built gvim (+tcl) with patch 1421 on mingw64. > I changed file syntax/vim.vim to highlight tcl embeded in vim script (line > 621): > let g:vimsyn_embed= "lmpPrt" > > When invoked directly from ms-windows, it acts just as expected; >

Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-26 Thread Alexas Chee
Hi, Christian, Thanks for your comment. I compared 2 outputs of : scriptnames, turned out that the one in windows has two more lines: $VIMRUNTIME\syntax\tcl.vim $VIMRUNTIME\indent\vim.vim All others are the same: same runtime path and other scripts. Wonder why gvim refuses to load those 2 scr

Re: gvim acts differently when invoked from mingw64 and ms-windows

2016-02-26 Thread Christian Brabandt
Hi Junrin! On Fr, 26 Feb 2016, Junrin Sei wrote: > I just built gvim (+tcl) with patch 1421 on mingw64. > I changed file syntax/vim.vim to highlight tcl embeded in vim script (line > 621): > let g:vimsyn_embed= "lmpPrt" > > When invoked directly from ms-windows, it acts just as expected; > bu

gvim acts differently when invoked from mingw64 and ms-windows

2016-02-26 Thread Junrin Sei
I just built gvim (+tcl) with patch 1421 on mingw64. I changed file syntax/vim.vim to highlight tcl embeded in vim script (line 621): let g:vimsyn_embed= "lmpPrt" When invoked directly from ms-windows, it acts just as expected; but when invoked from mingw bash, it fails to highlight tcl as if vi