Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on launch #740

Closed
osenvosem opened this issue Aug 29, 2018 · 10 comments
Closed

Error on launch #740

osenvosem opened this issue Aug 29, 2018 · 10 comments

Comments

@osenvosem
Copy link

MacOS 10.13.6, MacVim 8.1.280 (151)
Installed with brew or downloaded binary, no difference.

Getting this at the app launch.

screen shot 2018-08-29 at 13 40 35

@eirnym
Copy link
Contributor

eirnym commented Aug 29, 2018

Could you test with mvim -u NONE -N and, please, share relevant part of MacVim which produces the error.

PS: nice colorscheme

@osenvosem
Copy link
Author

@eirnym I also like it )

Launching with mvim -u NONE -N gives no errors. Launching vim in terminal also works without errors (the vim binary is from MacVim, installed using brew with --with-override-system-vim).

@eirnym
Copy link
Contributor

eirnym commented Aug 29, 2018

Could you run MacVim from terminal? It's usually spams with full error messages.
Alternatively, you can share your vimrc and I'll try to guess the error.

@osenvosem
Copy link
Author

osenvosem commented Aug 29, 2018

I usually launch macvim from terminal with the mvim command.
Here is my .vimrc
vimrc.txt

@eirnym
Copy link
Contributor

eirnym commented Sep 12, 2018

I ran script below, finished till all plugins are installed and had no errors you experienced afterwards.
I have following software versions:

App version
MacVim(from GitHub) 8.1.280 (151)
yarn (from MacPorts) 1.9.4
ruby (from MacPorts) 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16]
VIMRC_FILE=${1:-~/Downloads/vimrc.txt}
VIMDIR=$HOME/.vim
NEW_VIMDIR=
yarn --version >/dev/null 2>&1 || sudo port install yarn   # I didn't have yarn beforehand
if [[ -d $VIMDIR ]] then
  NEW_VIMDIR=$HOME/.vim.`uuidgen`
  mv $VIMDIR $NEW_VIMDIR
fi
mdkir $VIMDIR
cp $VIMRC_FILE ~/.vim/vimrc
curl -fLo $VIMDIR/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mvim '+:PlugInstall'  

Note: you can run mvim '+:PlugInstall|:qa' if you're sure if all plugins will be installed correctly

@eirnym
Copy link
Contributor

eirnym commented Sep 12, 2018

PS: I have similar script for restoring my settings on a new machine.

@eirnym
Copy link
Contributor

eirnym commented Oct 10, 2018

@osenvosem Does the problem persist in your environment?

@osenvosem
Copy link
Author

@eirnym yes, it still persists.

@eirnym
Copy link
Contributor

eirnym commented Oct 11, 2018

Could you check if there's some changes or some plugins weren't updated? Could you try to clean up your ~/.vim directory and create it from scratch?

@osenvosem
Copy link
Author

I completely removed the .vim folder and reinstalled everything from scratch and it seems that it works well now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants