-
Notifications
You must be signed in to change notification settings - Fork 46
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
Can't get to work on zsh + iterm2 (macos) #23
Comments
Are you using vim8?
|
Yeah, I am using vim8:
Nothing changed when I added those lines. |
The only problem is background, right? |
No, i think the whole colorscheme isn't working properly, at least compared to the material theme on my vscode. |
I don't think it would match with colorscheme from different editor, but it should match the screenshots in the readme.
I see that you are using semi-transparent background on terminal, so that can also potentially cause some confusion. |
I didn't understand the part of uninstalling base16 stuff? Isn't this necessary for vim? |
Tried adding the |
base16 is necessary only if you don't have vim8 and true colors support, but you should have it with iterm and vim8. |
For the transparency I have added the line, and now the transparency works: let g:hybrid_transparent_background = 1 I have removed the base16 and disabled transparency and it looks like this: I have managed to get the background color working when I added the following line and had the iterm color preset on. g:hybrid_custom_term_colors = 1 The problem with this is that I don't want to have that color pallete for all my terminal, just inside vim. Futhermore, I think the syntax highlighting is still broken somehow (based on code examples that I have found on the internet). Can you share a screenshot of your vim with this python example code: import itertools
class Foo:
def __init__(self, x, y):
self.x = x
self.y = y
def iter_primes():
# an iterator of all numbers between 2 and +infinity
numbers = itertools.count(2)
# generate primes forever
while True:
# get the first number from the iterator (always a prime)
prime = numbers.next()
yield prime
# this code iteratively builds up a chain of
# filters...slightly tricky, but ponder it a bit
numbers = itertools.ifilter(prime.__rmod__, numbers)
for p in iter_primes():
if p > 1000:
break
print p |
@sayatul what's your environment? OS, terminal, etc. |
Hi,
I am having some problems installing this theme in vim. I have already done everything in the readme, including the base16 part and I can't get it to work inside vim. It is working fine in iterm (which I didn't want to, I only wanted when inside vim), as you can see in the pictures below.
Could you help me find where I am failing?
Here is my .vimrc
And here is my .vimrc.bundles
The text was updated successfully, but these errors were encountered: