Problem with installation on osx
jagij opened this issue · 2 comments
I don't know if it's only on osx, but the instructions to install are causing problems.
I started getting these messages after editing the commit message with git: "error: There was a problem with the editor 'vi'."
Some investigation yielded that starting vim as 'vi' and then quiting with :q results in exiting with error code 1 (check echo $?
).
I then went into a binary debugging mode with the .vimrc
file, commenting out half the file until I pinpointed the line causing the problem:
filetype plugin indent off
I'm a vim-fugitive user, so I commented out the vim-golang enabling code, and just put a symbolic link in my bundle folder this way:
ln -s $GOROOT/misc/vim ~/.vim/bundle/vim-golang
Maybe the installation instructions could mention this method, because it is causing troubles for people invoking vim as vi.
Please direct all comments and issues to golang-nuts golang-nuts@googlegroups.com. This is just a mirror of that repository.
Ok, thanks!