Coder Social home page Coder Social logo

24-bit terminal color support about vim-css-color HOT 6 CLOSED

ap avatar ap commented on July 18, 2024
24-bit terminal color support

from vim-css-color.

Comments (6)

ap avatar ap commented on July 18, 2024 1

My remaining question was about the separate terminal truecolor patch that was available separately for Vim 7 and not included in an official release. But even if that patch was not supported by the plugin – it has been rendered irrelevant by the fact that upstream Vim ships with terminal truecolor support now.

Time to close this issue. Thanks for y’all’s time.

from vim-css-color.

yachi avatar yachi commented on July 18, 2024

Good to hear that :)
This is from vim-airline/vim-airline@ac58bc9
I just look around and see if i can get true css color working, turns out i can't read vim scripts πŸ˜†.

from vim-css-color.

ap avatar ap commented on July 18, 2024

@yachi: I believe the most recent version of the plugin (with Neovim support) will work in console Vim with the 24-bit patch, with no extra changes to the plugin.

Can you give it a try and yay/nay that?

from vim-css-color.

yachi avatar yachi commented on July 18, 2024

I tried on iTerm nightly (Build 2.9.20160318-nightly
) and neovim and it works!

screen shot 2016-03-29 at 11 17 11 am

Great job @ap !

here is the test file https://gist.github.com/yachi/360d85d38513a4831430

but i think there is little issue on vim (with or without truetermcolor patch choppsv1/term24/vim):

screen shot 2016-03-29 at 12 14 27 pm

I guess it is because my true color in vim is not working
my vim color config

if has("nvim")
  let $NVIM_TUI_ENABLE_TRUE_COLOR=1
else
  let &t_8f="\e[38;2;%ld;%ld;%ldm"
  let &t_8b="\e[48;2;%ld;%ld;%ldm"
  set guicolors
endif

from vim-css-color.

ap avatar ap commented on July 18, 2024

@yachi: I know NeoVim works and Vim without the truetermcolor cannot work, so I’m only interested in the truetermcolor patch here. (My request was unclear on that, sorry. I edited it to clarify.)

I guess it is because my true color in vim is not working

Do 24-bit color schemes work with it? Or is it only vim-css-color that is broken?

from vim-css-color.

alchemicalhydra avatar alchemicalhydra commented on July 18, 2024

I just pushed in #77 which should cleanly handle 24-bit colors in both Vim 8+ and NeoVim 0.1.5+.

from vim-css-color.

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.