git commit --유효한 vimrc 옵션을 인식하지 못하는 수정

git commit --유효한 vimrc 옵션을 인식하지 못하는 수정

내가 할 때 발생하는 오류입니다.git commit --amend

/root/.vimrc를 처리하는 동안 오류가 감지되었습니다:
193행:
E518: 알 수 없는 옵션:foldmethod=indent
194행:
E518: 알 수 없는 옵션:foldlevel=99
계속하려면 Enter 키를 누르거나 명령을 입력하세요.

나는 이것이 와 관련이 없다는 것을 알고 있지만 gitvim은 그 외에는 잘 작동하고 있습니다.

이것은 내가 사용하는 vimrc입니다:https://github.com/sontek/dotfiles

답변1

아마 같은 문제일 거야

https://stackoverflow.com/questions/11870884/vim-says-no-mouse-support-but-only-when-i-run-git-commit

추천하는 것

git config --global core.editor vim

관련 정보