I get the error below after I run "git commit ."
CSApprox needs gui support - not loading.
See :help |csapprox-+gui| for possible workarounds.
Error detected while processing /Users/{username}/.vim/plugin/syntastic.vim:
line 94:
E319: Sorry, the command is not available in this version: sign define SyntasticError text=>> texthl=error
line 95:
E319: Sorry, the command is not available in this version: sign define SyntasticWarning text=>> texthl=todo
Press ENTER or type command to continue
error: There was a problem with the editor 'vi'.
Please supply the message using either -m or -F option.
Any ideas why this might be happening? I am on a mac.
Thanks for your help.
This will solve this problem:
$ git config --global core.editor /usr/bin/vim
It looks like your git editor is not set and vi has a messed up plugin or something on your mac. Try using the -m "comment here" paramter on your commit.
I would suggest mv ~/.vim ~/.vimbak
and try running vi again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With