Giter VIP home page Giter VIP logo

Comments (14)

reidcooper avatar reidcooper commented on June 24, 2024 1

I reinstalled iTerm and Vim. Didn't fix it.

But I nuked my ~/.vim directory and started over which solved the problem for me.

I had a feeling it was something to do with vim-plug but I have no idea.

Thanks. My issue has been solved.

from material.vim.

gko avatar gko commented on June 24, 2024 1

@kaicataldo I know, I just summed it up for the people that will come across this issue

from material.vim.

docoder avatar docoder commented on June 24, 2024

iterm2 3.3.9

from material.vim.

kaicataldo avatar kaicataldo commented on June 24, 2024

I am unable to reproduce this with the same versions of iTerm2 and Vim. Some follow-up questions:

  1. Are you using tmux?
  2. Have you tried finding the minimal repro case by removing other things in your Vim config?

from material.vim.

reidcooper avatar reidcooper commented on June 24, 2024

I am encountering this issue.

Deleted all plugins and re-installed them.

VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 13 2019 14:45:40)
Included patches: 1-503, 505-680, 682-1312

No tmux - same results though.
iTerm 2 Build 3.3.9

Screenshot 2020-03-17 14 35 28

from material.vim.

kaicataldo avatar kaicataldo commented on June 24, 2024

Since I'm unable to reproduce, would appreciate if someone could figure out repro steps.

from material.vim.

gko avatar gko commented on June 24, 2024

@reidcooper can you make a repo with working config?

from material.vim.

gko avatar gko commented on June 24, 2024

here is my example config:
https://github.com/gko/vimrc-material-example

works perfectly with neovim

but for some reason not with vim (iterm or terminal)

tried both importing colors into iterm and without importing them.

from material.vim.

docoder avatar docoder commented on June 24, 2024

.zshrc add
alias vim='/Applications/MacVim.app/Contents/MacOS/Vim'
fixed it

from material.vim.

docoder avatar docoder commented on June 24, 2024

vim version 8.2.319

from material.vim.

gko avatar gko commented on June 24, 2024

vim in macOS doesn't support termguicolors.

So there are three options:

  1. update vim to 8.2 and get the support in iTerm 2
  2. add cterm support in color theme (added draft #41)
  3. check for termguicolors support and set a fallback theme like here:
    https://github.com/gko/vimio/blob/master/.vimrc_background#L17-L27

from material.vim.

kaicataldo avatar kaicataldo commented on June 24, 2024

Please see the readme. Information about true colors can be found here.

from material.vim.

kaicataldo avatar kaicataldo commented on June 24, 2024

Thanks, appreciated :)

from material.vim.

kaicataldo avatar kaicataldo commented on June 24, 2024

Closing since this has been resolved.

from material.vim.

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.