Comments (21)
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.
@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.
I don't use the GUI and the parent compiled without any problems, excellent job. Finally GUI colorschemes in the terminal!
from powerline.
@Lokaltog Latest revision also works, seems I forgot to recompile.
from powerline.
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.
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.
Bit unrelated, but anyone knows if there is any progress for tmux to support true colors?
from powerline.
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.
@ZyX-I more details on how to do that would be great. Sorry to bother you.
from powerline.
@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.
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.
@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.
@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.
@ZyX-I May I ask if your vim truecolor support has made it into vim upstream?
from powerline.
@AlexDunn You can check this yourself: guicolors
option is responsible for this functionality.
from powerline.
@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.
@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.
@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.
@ZyX-I Do you know of any reason set spell
would have no visible effect with set guicolors
?
from powerline.
@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.
By the way, this is unrelated issue that is long since closed.
from powerline.
Related Issues (20)
- No such file or directory (sometimes) HOT 1
- metadata-generation-failed when installing on on python 3.11/macOS 12 HOT 1
- setup fails for development version of tmux HOT 1
- Centre segments section HOT 1
- Logging test fail on python 3.8+
- Is it possible to set a highlight group for the environment variable segment? HOT 1
- Powerline doesn't working on Ubuntu 22.04.3 and bash
- Color and colorshemes override not working - gnome terminal - shell HOT 3
- powerline.segments.common.net.internal_ip HOT 2
- TMUX_VAR_RE does not use raw string, leading to SyntaxWarning with python 3.12
- powerline deprecation warning
- [feature] json schema support HOT 1
- The imp module is removed in Python 3.12 HOT 4
- Questions about Copilot + Open Source Software Hierarchy
- Questions about Copilot + Open Source Software Hierarchy
- does powerline works for csh HOT 4
- Terminal graphics don’t work correctly in Fedora 40 KDE HOT 2
- fuzzy_time segment prints "o'clock three" instead of "three o'clock" HOT 2
- Weather segment broken (Bad Yahoo Weather SSL Cert) in RHEL 9
- Apt package missing bash bindings HOT 1
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 powerline.