Coder Social home page Coder Social logo

Fallback colors about vim-gruvbox8 HOT 7 CLOSED

lifepillar avatar lifepillar commented on June 27, 2024
Fallback colors

from vim-gruvbox8.

Comments (7)

lifepillar avatar lifepillar commented on June 27, 2024

Try :set t_Co= (no value) or :set t_Co=0.

from vim-gruvbox8.

cipherlogs avatar cipherlogs commented on June 27, 2024

Hello, thank you so much for your reply.

I have tried it but nothing changes.

I made sure that set termguicolors isn't active in my vimrc
and I also tried to start vim with "vim -c "set t_Co=" but the colors are all messed up
they are not like the ones you have attached in your readme repo

I have also tried to set my $TERM to vt100

I'm using Alacritty btw...

I really hope we can solve this problem.

from vim-gruvbox8.

lifepillar avatar lifepillar commented on June 27, 2024

Save this as min-vimrc.vim:

set nocompatible
set runtimepath+=<CHANGE TO PATH TO>/gruvbox8
set notermguicolors
set t_Co=
colorscheme gruvbox8

Run with vim --clean -u ./min-vimrc.vim. I get a black and white Vim in Alacritty.

Are you sure that you have set notermguicolors?

from vim-gruvbox8.

lifepillar avatar lifepillar commented on June 27, 2024

Are you sure that you have set notermguicolors?

ā€¦before loading the color scheme.

from vim-gruvbox8.

cipherlogs avatar cipherlogs commented on June 27, 2024

Hello, thank you so much for your help,

I have tried everything you said, yes the colors do get stripped but the outcome is nowhere near what you have on your B&W repo

I don't know why!

from vim-gruvbox8.

lifepillar avatar lifepillar commented on June 27, 2024

the colors do get stripped but the outcome is nowhere near what you have

Do you mean, with the minimal vimrc above? Well, that'sā€¦ minimal. You need to enable at least syntax highlighting. Try with this:

" Minimal vimrc
set nocompatible
set runtimepath+=<PATH TO>/gruvbox8
set notermguicolors
set t_Co=
syntax enable
filetype plugin indent on
set number relativenumber
set laststatus=2
set showtabline=2
set foldmethod=marker
set foldenable
colorscheme gruvbox8

This is a screenshot from Alacritty with the configuration above:

bw-vim

from vim-gruvbox8.

lifepillar avatar lifepillar commented on June 27, 2024

Closing as not reproducible.

from vim-gruvbox8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.