I tried to install YouCompleteMe on Mac for vim, but I\'ve been using the system vim which is version 7.3. I tried to update my vim using homebrew by typing brew install v
brew install v
echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile source ~/.bash_profile
Run this command and it will be fixed.