Giter Site home page Giter Site logo

Comments (7)

zaiste avatar zaiste commented on August 16, 2024

You must set your terminal to use 256 colors. Go to Preferences and choose xterm-256colors (I encourage you to switch to iTerm2). Once you adjust your colors, you will have to fix your fonts by following the instructions on vim-powerline.

Feel free to ask if you have other issues.

from vimified.

topriddy avatar topriddy commented on August 16, 2024

I have done the following, switched to 256 colors on Mac Terminal. It wasn't obvious how to do same on iTerm2 (i installed this on your recommendation). I was able to download and install a font from Powerline => Monaco-Powerline. It wasn't clear how to fix fonts from the powerline wiki page here: https://github.com/Lokaltog/vim-powerline. What I was able to do was just set font.

The instructions on Powerline Wiki for this looks very unclear and a lot of trouble.

I understand this might not be your problem....just thought I could share in hope of getting a solution.

Thanks again.

from vimified.

zaiste avatar zaiste commented on August 16, 2024

Yes, there are some quirks with both those steps. We should definitely update the README. Let me know if you have a specific question, I'll help you.

from vimified.

AdrienGiboire avatar AdrienGiboire commented on August 16, 2024

Well, I didn't go through those issues but I will think about how to redo the lazy install script and ensure user met the requirements according to the default bundles. Sorry for the inconvenience ):

from vimified.

AdrienGiboire avatar AdrienGiboire commented on August 16, 2024

First, the vim-slim moved from https://github.com/bbommarito/vim-slim to https://github.com/slim-template/vim-slim so the BundleInstall command could not figured out how to handle it. And when vundle doesn't succeed to install a bundle, it just go to the next one and so on. So, for this one, I'm sorry but I don't know how I can handle it.

I will investigate to find a way to know if user meets screen settings requirements.

Anyway, nothing is wrong with the install script.

from vimified.

AdrienGiboire avatar AdrienGiboire commented on August 16, 2024

According to the exchange on superuser, I could use tput to know if term supports 256 colors but when I use it on iTerm2 it displays 8 when iTem2 supports 256 colors.

I could be nothing. I just could tell people to make sure their term supports 256 colors before continuing but the fact is tput colors can displays 256 in Term.app even if Term.app does not support 256 colors. In this case, I have no way to avoid crash to happen.

It seems that tput relies on TERM which can be either xterm, xterm-color or xterm-256color and determines the colors support from this.

The problem is the infos are not reliable. So, as much as it really bother me, I have no choice to keep letting it crash as part of the user experience 'til I figure a way how to handle it. That might never happenโ€ฆ

As @zaiste said, we will update docs as much as we can.

Worth to be closed.

from vimified.

zaiste avatar zaiste commented on August 16, 2024

๐Ÿ‘

from vimified.

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.