运行"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.
Run Code Online (Sandbox Code Playgroud)
任何想法为什么会这样?我在Mac上.
谢谢你的帮助.
eur*_*eka 21
这将解决这个问题:
$ git config --global core.editor /usr/bin/vim
Run Code Online (Sandbox Code Playgroud)
Cou*_*ner 11
看起来你的git编辑器没有设置,vi有一个混乱的插件或你的mac上的东西.尝试在提交时使用-m"comment here"参数.
我会建议mv ~/.vim ~/.vimbak并尝试再次运行vi.
| 归档时间: |
|
| 查看次数: |
6532 次 |
| 最近记录: |