lifepillar / vim-wwdc16-theme

Colorful dark color scheme for Vim inspired by Apple's WWDC16 page
MIT License
102 stars 14 forks source link

It doesn't work in MacVim #3

Closed 1maks closed 7 years ago

lifepillar commented 7 years ago

It does.

1maks commented 7 years ago

I use VIM 8.0. For me it works in Terminal but when I launch MacVim it doesn't. I tried to set "let macvim_skip_colorscheme = 1" in .vimrc but it didn't fix the problem. Also, I tried to create .gvimrc but it works in the same way.

Could you give me instructions?

lifepillar commented 7 years ago

I assume that “it doesn't work” means “it is not loaded”. If it works in Terminal, it should work in MacVim too, unless MacVim uses a different configuration. Try creating a minimal test-vimrc with the following content:

set nocompatible
syntax on
colorscheme wwdc16

and launch MacVim from the command line as follows:

mvim -u test-vimrc

or

/Applications/MacVim.app/Contents/bin/mvim -u test-vimrc

if the first command is not found. Is the colorscheme loaded?

If not, check the values of runtimepath and packpath:

:set packpath
:set runtimepath

Does your .vim folder appear in those paths? Also, is WWDC16's folder inside ~/.vim/pack/*/opt or elsewhere?

1maks commented 7 years ago

Thank you! Now it works. It was my mistake.