Comments (8)
What happens if you omit the set t_Co=256
line?
All of the g:onedark
variable declarations need to appear before the colorscheme onedark
line for them to have any effect.
You also shouldn't need to set g:onedark_termcolors
at all, since 256 is the default.
from onedark.vim.
Thanks for your help.
I tried everything I can. It just don't work. Don't work in both Mac Terminal and iterm2. Don't work with MacVim or NeoVim. It only works in MacVim GUI. However, Terminal and iTerm2 do have the same wrong scheme.
Not only this color schemes, none of the color schemes except solarized works the exact way as the preview pics. There are always an apparent difference. Even those Base 16 schemes do not work correctly.
My iterm2 is set to xterm-256. Any idea how this happens?
from onedark.vim.
Oh... Finally I got the solution!
neoVim has an option:
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
and it solves everything.
Though I don't know what this is but it's great!
Thanks anyway :P
from onedark.vim.
Glad you figured it out!
from onedark.vim.
Hey @joshdick !
I installed One Dark.itermcolors, and set the theme to use terminal's color. bui i still cant get the color right.
my config:
syntax enable
let g:onedark_termcolors=16
colorscheme onedark
set background=dark
any idea where i did wrong? thanks.
@Jim-Zenn I also tried let $NVIM_TUI_ENABLE_TRUE_COLOR=1
as im using neovim, but it didnt work for me. can i see your config regarding to the theme if possible?
from onedark.vim.
The colors themselves look correct, but if you're wondering why the highlighting doesn't look exactly like it does in my screenshot, it's because I'm using the othree/yajs.vim plugin which has better JavaScript highlighting than stock Vim.
from onedark.vim.
got it. thanks for the help!
from onedark.vim.
I had to remove the set background=dark
for the theme to work. Without it it looks fine
from onedark.vim.
Related Issues (20)
- How do I change the selected line color? HOT 5
- `onedark#extend_highlight` doesn't extend `cterm` options HOT 2
- Syntaxt highilighting for keywords in comments
- Conflict with itchyny/vim-cursorword HOT 4
- Weird behavior with modified file name's color in airline by opening .vim files HOT 1
- Support for lualine
- Illegible diffs HOT 1
- Add symbol highlighting for Neovim LSP
- Add CocMenuSel HOT 1
- visualbell stops working when using onedark
- Background transparent HOT 3
- Warning sign from ALE has wrong color HOT 1
- Override colors in lua (neovim)
- feat: Switchable transparent background ?
- Leave my &t_Co alone.
- Abunch of errors HOT 1
- Add support for command mode for lightline.vim
- Troubles with Tmux+Vim after tmux redraw
- [Feature Request] Add better UI for `vim.lsp.buf.rename()` function.
- Bug: Scheme not working correctly after upgrading neovim 0.9.5 to 0.10.0 HOT 10
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 onedark.vim.