Closed PeterJRiches closed 4 years ago
Apologies, @tpope I have closed this for you. I accidentally submitted it twice because my internet connection was flaking out last night so the website didn't show me that my first attempt had gone through. I hope I did not offend, and I do appreciate your efforts.
Problem
The current installation instructions clone from this repository into the user's .vim configuration directory structure, and that works great if the user is not already using git to look after their configs, like I do. The problem with this repo being cloned within an outer repo is that git can assume that the inner repo is a malformed or incomplete
git submodule
. (I deleted my local commentary repo when this happened to me, and modified my method of installation as below.)Proposal
For people who use git to oversee their configs, the following two lines can replace the
git clone...
command in the installation instructions in README.markdown:git submodule add https://tpope.io/vim/commentary.git commentary
git commit -m"Added Vim commentary plugin as a git submodule"