Comments (13)
Would you mind providing the following information:
- Terminal you are using and the version
- Vim or NeoVim and the version
- Are you using tmux?
from vim-one.
Actually, i think I know the reason. Italic is not supported by your terminal. Will post a fix soon that would require a configuration setting.
from vim-one.
@kaiyulee, thanks for opening this issue. It seems like your terminal does not support italic,
This update should fix your problem. Please make sure to have the following lines in your ~/.vimrc
set background=dark
set g:one_allow_italics=1
colorscheme one
from vim-one.
iTerm2 Build 3.0.1 + vim 7.4.1345, iTerm2 has the tmux integration.
And still has the clear & beautiful
problem.
It seems like not the plugin's problem. I had tried the material colorscheme mounthes before, It also has the display issue - it not as clear & beautiful as yours, but both the material and the one display well with MacVim. So the key maybe is the vim.
from vim-one.
Sorry to hear that, to support True Colors in Terminal you would need
- iTerm2 (nightly build) that you can find here
- Neovim > 0.1.3 or Vim > patch 7.4.1799
- Tmux 2.2 seems to support True Colors in terminal
from vim-one.
Your version of Vim does not support true colours. Try to upgrade it.
from vim-one.
It only works for vim, but not neovim.
My information:
- Iterm2 Build 3.0.10
- Vim 8.0
- Neovim 0.1.5
from vim-one.
@kepbod, Sorry but I can't help you fix this issue on Neovim if you don't provide more information, your ~/.vimrc
or /.config/nvim/init.vim
would be a great start.
also don't forget that you must set termguicolors
for this to work.
from vim-one.
Sorry that I forgot to attach my configuration.
My ~/.config/nvim/init.vim is https://github.com/kepbod/ivim/blob/master/vimrc_nvim, and I set iterm using https://gist.github.com/kepbod/2ea79ee2ada4c22591dc043c1ed4364c.
Thanks a lot for your helps.
from vim-one.
try removing the set t_Co
line
from vim-one.
It did not work after I removed the set t_Co
line.
from vim-one.
I fixed it by add below gist in .vimrc
according to https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/?st=iux2r3zl&sh=87e1d8bf.
set t_ZH=^[[3m
set t_ZR=^[[23m
But I doesn't know why.
from vim-one.
If kepbod's snippet above doesn't work for you like it didn't for me, then it's likely because it requires actually typing the Esc character—which won't look as nice in other editors or display properly in a browser. A nicer way that looks the same across editors and in a browser is:
let &t_ZH = "\<Esc>[3m"
let &t_ZR = "\<Esc>[23m"
from vim-one.
Related Issues (20)
- No transparent background HOT 4
- Error: Tmux and coc-tabnine
- Increase contrast for :verbose output
- How to change the background color? HOT 6
- Help with Spaceline.vim
- The text color on the vim autocompllete modal are hard to see
- The use of blue-colored operators
- Single and double quoted strings are not colored in vimrc when referencing Plug items
- Italics in markdown not working HOT 3
- Wrong VertSplit after PR #58 HOT 1
- LaTeX concealed expressions syntax highlighting HOT 1
- Please revert PR #58
- Revert / Modify PR #104 HOT 1
- Color messages hard to read
- How to highlight the specified word
- Support for Typescript
- Modify `g:terminal_ansi_colors`
- Compatibility with Neovim 0.10
- Hello,I wonder how to change the comment color? HOT 1
- Windows terminal and tmux don't work well HOT 2
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 vim-one.