Comments (19)
This is happening because the theme is running in 256-color mode in iTerm2.
To see proper colors in iTerm2, you need to switch to 16-color mode as described at the bottom of the README: https://github.com/joshdick/onedark.vim#16-color-mode
from onedark.vim.
I did install One Dark.itermcolors
and I am using it. Also I have this in my vimrc
.
colorscheme onedark
let g:airline_theme='onedark'
let g:onedark_termcolors=16
Still it's not working
Edit: I have realized that iTerm is not loading One Dark
. It's able to load to One Dark 1.0.0
and One Light 1.0.0
but nothing's happening when I select One Dark
. Is there something I am missing?
from onedark.vim.
Try putting the let g:onedark_termcolors=16
line before the colorscheme onedark
line.
from onedark.vim.
It looks like you were probably using the color schemes from this project.
I'm not sure why iTerm wouldn't switch colors when picking the scheme from this repository. Maybe try removing the "One" themes from the other project in iTerm?
from onedark.vim.
I tried deleting both of the 1.0.0
versions and your version, then reimported your version, still iTerm
isn't recognizing it.
from onedark.vim.
What version of iTerm2 are you using?
from onedark.vim.
2.1.4
from onedark.vim.
Would you mind seeing if 2.9 (test release) makes a difference? The color scheme format does appear to have changed.
from onedark.vim.
I am trying right now. Though it will take some time, internet in my dorm is not "praiseworthy". What I tried in the mean time was to rename the termcolors
file that you provided, thinking that the error might because of failed name resolution. That didn't work either.
from onedark.vim.
It seems to be working now. I am using the 2.9 beta version of iTerm. Thanks
from onedark.vim.
Cool, glad we figured it out!
from onedark.vim.
Hey can you tell me how exactly I can edit the color scheme. Basically I want to change the incsearch color to something that is prominent, like dark_yellow. I tried setting the value in line 154 of onedark.vim
but it didn't change anything.
Also can you address this issue in general ? incsearch's color is visual black, which is barely visible, especially considering the fact that incsearch's color should be prominent so it kind of stands out from the rest of the code.
from onedark.vim.
You can change the values of the "fg" and "bg" properties on any line to the variable names defined in the "Color Variables" section of the file. Omitting either property will use default/existing colors for that property.
I made IncSearch match visual mode highlighting since that was my preference, but you can change it to suit your needs; one possible combination is white foreground and red background.
If you choose to set a background color, the foreground color should also be set to something specific (black in the current case), because when using a set background color like red, if red text happens to be highlighted, it would be unreadable (red text on a red background.)
from onedark.vim.
Why doesn't this work, to change the color for IncSearch
call s:h("IncSearch", { "fg": s:dark_yellow, "bg": s:visual_grey }) " 'incsearch' highlighting; also used for the text replaced with ":s///c"
from onedark.vim.
That works just fine for me. Did you re-source .vimrc or restart Vim after making the change?
from onedark.vim.
Yup did resource .vimrc
, even restarted iTerm
. The problem is onedark.vim
is not loading for some reason.
from onedark.vim.
Do you see any errors in Vim on startup?
Are you editing the correct copy of the theme (maybe you have one being loaded by a plugin manager and one in the normal colors directory?)
from onedark.vim.
It's working now, deleted the old copy and cloned it again in bundle. Thanks anyways !
from onedark.vim.
You're welcome!
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.