50392Re: 2html.vim script question
- May 21, 2004On Fri, May 21, 2004 at 06:48:36PM -0400, Charles H. Shooshan III wrote:
> Thanks for getting back to me. Here's some more feedback:[snip]
> The problem seems to be that when gvim is called with parameters that[snip]
> must include double quotes ("), those double quotes are not properly
> passed to the command-line. I have tried escaping the double quotes
> with backslashes but that doesn't help.
>So it is a shell-script problem, not a vim problem. Since this
> Building on the info you gave me, I now find that if I save a new
> script called, let's say, gvim2html, with this command:
> /Applications/vim/Vim.app/Contents/MacOS/Vim -g -c "runtime!
> syntax/2html.vim" \
> -c "wq" -c "q" $1 &
> and then enter in the Terminal:
> $ gvim2html Hello.java
> all works well and I get the html file with the GUI colors!
> So, I guess the question left is whether it is possible to write a gvim
> script that will take all the parameters that
> /Applications/vim/Vim.app/Contents/MacOS/Vim -g would otherwise take.
affects the gvim shell script distributed with the OS X binaries, I will
cc this to the vim-mac mailing list.
- << Previous post in topic Next post in topic >>