Comments (13)
You're likely using a terminal that doesn't have truecolor support.
The BEST solution is to find a better terminal. But the solution I think you're personally looking for is to set the variable let g:dracula_colorterm = 0
in your init scripts before loading the colorscheme.
Let me know if that helps.
from vim.
Add set termguicolors
to your vimrc
from vim.
Also, you'll need to set let g:dracula_italic = 0
to make those blue highlights go away. Your terminal also does not support italic fonts (or you have tmux set up incorrectly and they're not being rendered)
from vim.
You're likely using a terminal that doesn't have truecolor support.
The BEST solution is to find a better terminal. But the solution I think you're personally looking for is to set the variable
let g:dracula_colorterm = 0
in your init scripts before loading the colorscheme.Let me know if that helps.
omg omg this worked hooray!!!!! I'm using ohmyzsh + ohmytmux + amix/vimrc + tilix terminal and nothing seemed to work. but this. this worked. : )
from vim.
Right on, now it worked.. Thanks again for the help! @dsifford
from vim.
Worked like a charm, thank you @dsifford for the solution and explanation. I only knew about xterm-256color
before and never realized the truecolor and italic settings for multiple terminals like iTerm and gnome-terminal.
Sorry again for a newbie question!
from vim.
@dsifford As I try to configure my terminal (iTerm2 v3.1.7), I found out that those values are already:
➜ ~ echo $TERM
xterm-256color
➜ ~ echo $COLORTERM
truecolor
Do you have any insights about what has possibly gone wrong here?
from vim.
A test script also indicates that I already have truecolor support in my terminal: https://raw.githubusercontent.com/robertknight/konsole/master/tests/color-spaces.pl
from vim.
Are you using tmux?
from vim.
Are you using tmux?
I am not.
from vim.
Add
set termguicolors
to your vimrc
This works on xfce-terminal. @dsifford i have a question, set termguicolors
What exactly does it do?
from vim.
@pbnanc it asks vim to use GUI-based colors even in the terminal, which can provide "better" color on terminals that support truecolor (I don't have a metric handy for the "better," hence the quotes).
cf. :help termguicolors
from vim.
From the help file:
'termguicolors' 'tgc' boolean (default off)
global
When on, uses |highlight-guifg| and |highlight-guibg| attributes in
the terminal (thus using 24-bit color). Requires a ISO-8613-3
compatible terminal.
from vim.
Related Issues (20)
- How can change from highlight to default especially ? HOT 2
- The color of variables imported in typescript code is different from vscode HOT 1
- the diff mode color HOT 4
- Colors of Dracula theme are off. HOT 6
- nvim-cmp colors HOT 6
- 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
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.