Comments (10)
@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.
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:
I'll try experimenting some more.
from vim.
@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.
- 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.
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.
Incidentally, I installed vim-plug and tried installing the dracula theme that way and the same problem occurs.
from vim.
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.
Could this be connected to #59 ?
from vim.
@pdaniell Can you pull the update and see if this issue is still happening?
from vim.
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)
- How to change shade of green HOT 1
- Highlight works from the start with treesitter, but is lost after sourcing vimrc. HOT 23
- [advice] change the name of plugin HOT 2
- theme is transparent in kitty HOT 10
- The bg-color of neovim with dracula theme is not as in their site. HOT 4
- The highlight breaks after the second use of :colorscheme dracula HOT 3
- Issue with tree-sitter-css HOT 5
- [Feature Request]: lsp semantic highlight HOT 16
- Janky Cursorline Highlighting With Treesitter HOT 5
- Invalid character in group name HOT 14
- Colors doesn't look the same of VScode for JS files HOT 1
- Sourcing vimrc changes theme HOT 5
- can't make dracula_pro installation instructions work for me on Vim HOT 3
- Would be possible to assign a different color to a nvim :terminal window? HOT 2
- Dracula not working HOT 4
- nvim nerd font icons HOT 12
- How dracula supports italics for comments HOT 4
- Lunar Vim Color Scheme Mismatch to Other Editors HOT 1
- Treesitter Markdown highlighting HOT 8
- Cannot customize plugin specific highlight groups linked in /after files. HOT 13
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 vim.