Giter Site home page Giter Site logo

Comments (10)

benknoble avatar benknoble commented on May 22, 2024 3

@pdaniell on Mac OS X default Terminal, I don't use termguicolors because Terminal doesn't support truecolor (yet?). The greenscreen effect might be caused by that.

from vim.

pdaniell avatar pdaniell commented on May 22, 2024 1

Aha! I found the problem at least in Ubuntu. I learned in some other bugs that you have to add some settings in your .vimrc like:


" """"""""""""""""""""""""""""""""""""""
" Theme Settings
" """"""""""""""""""""""""""""""""""""""
set termguicolors
color dracula

The problem is that the vim installed on 16.04 (which is still the LTS version) is 7.3 --- which does not seem to have any support for the termguicolors directive. So I upgraded vim (some instructions here on how to do that in ubuntu: http://tipsonubuntu.com/2016/09/13/vim-8-0-released-install-ubuntu-16-04/ )
and the background is now working on ubuntu. (My recommendation would be here to include the suggestion about termguicolors on the webpage for dracula and then maybe to warn that this option only works for vim 8+)

However not so much luck with the Mac --- i had vim 8 installed there through homebrew. When I tried the same trick I get the following sort of weird green color theme:

screen shot 2018-03-20 at 01 59 13

I'll try experimenting some more.

from vim.

dsifford avatar dsifford commented on May 22, 2024

@pdaniell Can you tell me the following:

  • What OS are you running?
  • What terminal/terminal emulator/VTE are you running?
  • What is the background color of your terminal?

Thanks

from vim.

pdaniell avatar pdaniell commented on May 22, 2024

@dsifford

  • I was able to reproduce it on both Mac (10.13.3) and Ubuntu (16.04 LTS -- the 3rd iteration)
  • In both cases these were the OS provided apps, each called "Terminal."
  • The background of the terminal in both cases was set to hex 320B28 (this is the default color of the terminal in Ubuntu and I set it to that manually on the Mac).

from vim.

dsifford avatar dsifford commented on May 22, 2024

Noted. Thanks!

Updates to follow...

(If you don't hear back on this by the end of the week, feel free to comment back and remind me)

from vim.

pdaniell avatar pdaniell commented on May 22, 2024

Incidentally, I installed vim-plug and tried installing the dracula theme that way and the same problem occurs.

from vim.

dsifford avatar dsifford commented on May 22, 2024

Thanks for the updates.

I think I might know what's going on now after digging through this some more. Gonna be working on a more hardened fix for this over the next several days as time allows.

from vim.

benknoble avatar benknoble commented on May 22, 2024

Could this be connected to #59 ?

from vim.

dsifford avatar dsifford commented on May 22, 2024

@pdaniell Can you pull the update and see if this issue is still happening?

from vim.

pdaniell avatar pdaniell commented on May 22, 2024

I am having a little trouble pulling my machines back into the requisite state to test these changes because I ended up installing vim-plug on both my ubuntu and mac as workaround. It seems even with vim-plug, the greenscreen happens on the System terminal so as a workaround i installed iTerm2 --- where it works well. This is a sufficient work around for me. Many thanks.

from 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.