Comments (8)
It does work for me. Please provide more details:
- OS?
- Vim or Neovim?
- Vim version
- GUI or terminal? Specify terminal.
- Inside tmux/screen?
echo &t_Co
echo &t_ZH
from vim-gruvbox8.
Also, please test with this minimal vimrc
(save somewhere as vimrc_minimal
):
set nocompatible
filetype on
filetype plugin on
filetype indent on
syntax on
set backupdir=~/.vim/tmp/backup
set directory=~/.vim/tmp/swap
if !has('nvim')
set viminfo+=n~/.vim/viminfo
endif
let g:gruvbox_italicize_strings = 0
set background=light
colorscheme gruvbox8
Run vim -i NONE -N -u vimrc_minimal
. Replace vim
with nvim
if you are using the latter.
from vim-gruvbox8.
Also just ran into this - probably an issue from somewhere else as the minimal config file works as expected
Setup:
- Ubuntu 22.04
- neovim 0.9.0
- gnome-terminal and bash
echo &t_Co
&&echo &t_ZH
commands not found
from vim-gruvbox8.
bit more digging, looks like the issue is that neovim in terminal does not ignore the value of gui=italic
and gruvbox8 is only disabling italics with cterm=NONE
:verbose highlight String
String xxx ctermfg=142 gui=italic guifg=#b8bb26
Last set from ~/.local/share/nvim/site/pack/packer/start/vim-gruvbox8/colors/gruvbox8.vim line 1254
https://github.com/lifepillar/vim-gruvbox8/blob/master/colors/gruvbox8.vim#LL1252-L1255
Commenting out line 1254, String
is set on line 809
https://github.com/lifepillar/vim-gruvbox8/blob/master/colors/gruvbox8.vim#LL809
Commenting out line 809, String
is set on line 175
https://github.com/lifepillar/vim-gruvbox8/blob/master/colors/gruvbox8.vim#LL175
from vim-gruvbox8.
Found it! gui
highlight attributes are used in neovim if termguicolours
is set
A possible fix for this is changing line 196 to be
- if has('gui_running')
+ if has('gui_running') || (has('nvim') && &tgc)
from vim-gruvbox8.
Yes, Neovim interprets termguicolors
differently from Vim (where it applies to colors, not attributes).
At this point, I think that I will create a branch release for Neovim. Reconciling the differences is getting tiresome.
from vim-gruvbox8.
Please switch to the neovim
branch of this repo or download a -neovim release. Feel free to reopen if there are further issues.
from vim-gruvbox8.
Thanks for the quick turn around!
from vim-gruvbox8.
Related Issues (20)
- Fallback colors HOT 7
- none
- Strange behaviour of left service column HOT 9
- Lua port HOT 1
- Light theme for lightline HOT 4
- git gutter signs are too attractive HOT 3
- sometimes no colorscheme anymore HOT 3
- visual select colors HOT 2
- How can I disable italics? HOT 7
- gruvbox_transp_bg=1 doesn't work in Neovim 0.6 HOT 2
- Preview Window Highlight HOT 1
- Colors table HOT 3
- Poor readability of conceal characters HOT 2
- When using gruvbox8_soft and scrolling away, the background color is only partially applied HOT 2
- How do I install it without lua? HOT 2
- fzf windows open in dark mode HOT 3
- Stupid Question: How to Install this in vim? HOT 2
- Vim built-in terminal is not transparent HOT 1
- issues when re-generating the color scheme 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-gruvbox8.