Permalink
Browse files

Merge pull request #74 from mattn/no-external-command-and-remote-prot…

…ocol

no external command. and no remote protocol.
  • Loading branch information...
2 parents 8a64804 + db5dcae commit 167f8c9be4b0ed44beeac9a2b0da46d539e735bc @igrigorik igrigorik committed Oct 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/vimgolf/cli.rb
View
@@ -70,7 +70,7 @@ def put(id = nil)
# - --noplugin - don't load any plugins, lets be fair!
# -i NONE - don't load .viminfo (for saved macros and the like)
# - u - load vimgolf .vimrc to level the playing field
- vimcmd = "#{GOLFVIM} -n --noplugin -i NONE +0 -u \"#{vimrc(id)}\" -W \"#{log(id)}\" \"#{input(id, type)}\""
+ vimcmd = "#{GOLFVIM} -Z --servername \"\" -n --noplugin -i NONE +0 -u \"#{vimrc(id)}\" -W \"#{log(id)}\" \"#{input(id, type)}\""
debug(vimcmd)
system(vimcmd)
@@ -205,4 +205,4 @@ def debug(msg)
p [caller.first, msg] if GOLFDEBUG
end
end
-end
+end

0 comments on commit 167f8c9

Please sign in to comment.