Giter Club home page Giter Club logo

Comments (6)

rhysd avatar rhysd commented on June 10, 2024

Thank you for your detailed report. Could you confirm wether the problem occurs or not when using other color scheme? If it occurs with other color scheme also, it may not be the problem of vim-color-spring-night itself.

from vim-color-spring-night.

akinsho avatar akinsho commented on June 10, 2024

It seems to only be whilst using the theme, I'm not sure if its my current settings above or whether there is another variable I should set to keep the theme light. I've tried setting background to light but that does not work.

from vim-color-spring-night.

rhysd avatar rhysd commented on June 10, 2024

set g:spring_night_high_contrast=['cui']

The set should be let. Could you try the fix?

from vim-color-spring-night.

rhysd avatar rhysd commented on June 10, 2024

I maybe have found the reason. You should set variable before setting colorscheme.

if !has('gui_running')
  set term=screen-256color
endif


if has('termguicolors')
  set termguicolors


  " set vim-specific sequences for rgb colors
  "truecolor support in vim
  let &t_8f = "\<esc>[38;2;%lu;%lu;%lum"
  let &t_8b = "\<esc>[48;2;%lu;%lu;%lum"
endif

let g:spring_night_high_contrast=['cui']
colorscheme spring-night

Please try it.

from vim-color-spring-night.

rhysd avatar rhysd commented on June 10, 2024

And 'high contrast' means darker background color. So if you want lighter theme, please try let g:spring_night_high_contrast=[].

from vim-color-spring-night.

akinsho avatar akinsho commented on June 10, 2024

Hi, thanks very much I just tried it out and it worked! thanks again for the great theme, maybe you should add a line about implementing the contrast i.e. an example use of the contrast variable

from vim-color-spring-night.

Related Issues (13)

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.