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

Go method and struct highlighting missing #36

Closed
0x7061 opened this issue Sep 10, 2014 · 5 comments
Closed

Go method and struct highlighting missing #36

0x7061 opened this issue Sep 10, 2014 · 5 comments

Comments

@0x7061
Copy link

0x7061 commented Sep 10, 2014

So I've been successfully using gruvbox on my iMac and wanted to also set it up in my vagrant machine running Ubuntu 14.04 LTS.
I wrote a provisioning file to install vim, vundle and gruvbox. Everything gets installed but if I compare the same file with my host OS X machine and the virtual machine with Ubuntu it looks different:

screen shot 2014-09-10 at 09 27 56

Basically some highlights are missing. I'm also running ~/.vim/bundle/gruvbox/gruvbox_256palette.sh in my .bashrc.

Any clue?

@morhetz
Copy link
Owner

morhetz commented Sep 10, 2014

I'm sorry I didn't got the whole thing

  1. Host OS X is on right and VM Ubuntu on left, isn't it?
  2. What golang plugin are you using?
  3. Do both vim's have the same version?

PS. It seems like gruvbox_256palette.sh isn't working for you. In iterm you should use gruvbox_256palette_osx.sh.

@0x7061
Copy link
Author

0x7061 commented Sep 10, 2014

Yep. Host is on the right. I'm using the vim-go plugin by fatih. I think the error comes with vim not having the correct syntax file for go. So I guess this would have nothing to do with your color scheme and I should be checking there. Sorry!

@morhetz
Copy link
Owner

morhetz commented Sep 10, 2014

It seems like you had not set GOPATH variable yet.
Could you report me if gruvbox_256palette_osx.sh works for your iterm?

@0x7061
Copy link
Author

0x7061 commented Sep 10, 2014

I'm both not using iTerm and the shell script on my Mac. Plain terminal.app and it's working perfectly fine! I just tried the one script on Ubuntu because I suspected it missing and causing the error.

@morhetz
Copy link
Owner

morhetz commented Sep 10, 2014

Oh, ok. I've heard of some Terminal.app related issues. That's great if it working perfectly for you.
Shell script have nothing to do with highlighting, it just overloads terminal colors with more correct ones to match the gvim//macvim full-color.

@morhetz morhetz closed this as completed Sep 10, 2014
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