Giter Club home page Giter Club logo

Comments (21)

Lokaltog avatar Lokaltog commented on July 22, 2024

I really, really want this after switching to Konsole. I'm thinking about adding a 24bit_terminal option in config.json that is false by default, but when enabled automatically uses 24-bit colors in all the renderers. Is this the correct patch for enabling 24-bit color support in vim?

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@Lokaltog Nope, it or its parent* is the correct revision. I am not thinking about creating any patches until I want to send the whole thing to vim-dev thus there is no single diff you can apply to get it working.

* Its parent was known to work successful without gui, this commit just was not tested without gui and fails with it.

from powerline.

Lokaltog avatar Lokaltog commented on July 22, 2024

I don't use the GUI and the parent compiled without any problems, excellent job. Finally GUI colorschemes in the terminal!

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@Lokaltog Latest revision also works, seems I forgot to recompile.

from powerline.

Lokaltog avatar Lokaltog commented on July 22, 2024

I actually couldn't compile the latest revision, I received a compile error
with one of the xterm color functions. I figured it had something to do
with your macro updates so I tried the parent and it worked.

Kim Silkebækken

On 26. jan. 2013, at 20:08, ZyX-I [email protected] wrote:

@Lokaltog https://github.com/Lokaltog Latest revision also works, seems I
forgot to recompile.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/81#issuecomment-12740320.

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

It is a two-line fix and everything works (pushed). More interesting is why I need to set Normal after setting &guicolors group in order to get it highlighted properly. After I figure it out patch will be ready.

from powerline.

ArnisL avatar ArnisL commented on July 22, 2024

Bit unrelated, but anyone knows if there is any progress for tmux to support true colors?

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

Currently you can use tmux_escape option as a workaround if you want true color in shell run under tmux. No true color in tmux statusline though.

from powerline.

ArnisL avatar ArnisL commented on July 22, 2024

@ZyX-I more details on how to do that would be great. Sorry to bother you.

from powerline.

ArnisL avatar ArnisL commented on July 22, 2024

@ZyX-I wanted to ask - what's about vim version 7.4?
particularly - is there a version that's patched for 24 bit colors?

P.s. haven't found better way to contact you
P.p.s. there's gist I created for tmux to recognize 24 bit colors: https://gist.github.com/ArnisL/6156593

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

I periodically merge this branch with upstream. Much more often I merge with upstream local-default which as well has 24 bit support merged in. AFAIK there are no conflicts. All development goes in https://bitbucket.org/ZyX_I/vim, branch or bookmark you need is named xterm-(something).

There is and will be no precompiled binaries created by me.

31.10.13, 13:22, "Arnis Lapsa" [email protected]":

@ZyX-I wanted to ask - what's about vim version 7.4?
particularly - is there a version that's patched for 24 bit colors?
P.s. haven't found better way to contact you
P.p.s. there's gist I created for tmux to recognize 24 bit colors: https://gist.github.com/ArnisL/6156593

Reply to this email directly or view it on GitHub.

from powerline.

ArnisL avatar ArnisL commented on July 22, 2024

@ZyX-I somehow i cannot get any 7.4 version to work with 24bit colors. managed that with 'hg clone -r dd91804 vim vim_24bit', but that's kind an old revision.

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@ArnisL “Somehowe I cannot get any 7.4 version to work” does not look like enough information to make me able to help. You must describe what you have tried and what that resulted in.

from powerline.

xanderdunn avatar xanderdunn commented on July 22, 2024

@ZyX-I May I ask if your vim truecolor support has made it into vim upstream?

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@AlexDunn You can check this yourself: guicolors option is responsible for this functionality.

from powerline.

xanderdunn avatar xanderdunn commented on July 22, 2024

@ZyX-I Thanks. :h guicolors turns up nothing on latest stable (7.4.488), but I was hoping to discover if it had made it in without building latest vim source.

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@AlexDunn Presense of the options is checked using echo exists('&guicolors') (echo exists('+guicolors') to check whether it exists and was enabled at compile time). Help topic for options is :h 'guicolors', not without single “quotes” (:h accepts partial matches, so usually this works, but may lead you to the wrong tag unlike when using full match).

from powerline.

xanderdunn avatar xanderdunn commented on July 22, 2024

@ZyX-I Thanks for these details.

Running ./configure --enable-termtruecolor on latest source from https://vim.googlecode.com/hg/, ends with this:

configure: WARNING: unrecognized options: --enable-termtruecolor

So I think that makes it clear this hasn't gotten into mainstream vim yet.

from powerline.

ryneeverett avatar ryneeverett commented on July 22, 2024

@ZyX-I Do you know of any reason set spell would have no visible effect with set guicolors?

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

@ryneeverett By default SpellBad highlight group sets colors for terminal (they are ignored because gui colors are used), undercurl gui attribute (ignored because cterm attributes are used, not gui attributes) and guisp color for gui (ignored because terminal does not have corresponding capability).

So default highlight group sets only properties that are ignored for one or the other reason.

from powerline.

ZyX-I avatar ZyX-I commented on July 22, 2024

By the way, this is unrelated issue that is long since closed.

from powerline.

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.