Comments (5)
This happens when using the default vim in macOS.
Install vim using homebrew brew install vim
, this should solve your problem.
from onehalf.
@ergusto did you close this because you figured it out or because you gave up on it? I am having the same issue. 256 color is enabled. Other color schemes render fine.
I'm using iTerm2 3.3.0, Tmux 2.9a, neovim 0.3.7. (Also tested with vim 8.0 and not using Tmux, but that still gives the same result.)
from onehalf.
@bunnyfly Because I gave up, unfortunately. I tried messing around with it a bit more but couldn't get it looking right, and the sort of off-black background just really ruined the aesthetic for me. I moved onto https://github.com/sainnhe/vim-color-atlantis which I've been using for a while now and I am very happy with it.
from onehalf.
from onehalf.
Ya the screenshot looks like its background color is the default 256 color fallback.
In https://github.com/sonph/onehalf/blob/master/vim/colors/onehalfdark.vim I set
let s:black = { "gui": "#282c34", "cterm": "236" }
And cterm=236
corresponds to 303030
which is a gray color, instead of the blue-ish gui
color: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg
I'm not sure what's the current support for true colors in vim, but you should be able to check with
:echo has("termguicolors")
returning 1
.
There are plenty of guides on the Internet about true colors in vim. Hope anyone encountering this problem will be able to get your setup working. I have some basic instructions in https://github.com/sonph/onehalf/blob/master/vim/README.md
from onehalf.
Related Issues (20)
- Add Xresources for Xterm HOT 1
- iterm2, oneHalfDark, bright black text cannot be seen HOT 2
- Vim lightline seems missing onehalflight option HOT 1
- Is this project still maintained? HOT 1
- St support? HOT 1
- Comments bg color acts strangely HOT 4
- add rxvt-unicode/urxvt
- Add Theme for Logsec
- How do I get the extra colour themes? HOT 1
- Please add onehalf theme for RStudio
- NeoVim compared to VSCode (dimmer colors with wrong? colors)
- (Vim) Wrong colors for `ctermfg` and `guifg` for `highlight SpecialKey` but not `highlight LineNr`
- Vis editor support
- Ideal font for onehalf theme HOT 1
- Jetbrains Support
- deepin terminal support
- add installation in vim with packer
- Visual Studio support
- Logseq
- Why is it called One _Half_ and what is the difference from Atom's "One"?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onehalf.