dracula / vim

🧛🏻‍♂️ Dark theme for Vim
https://draculatheme.com/vim
MIT License
1.34k stars 455 forks source link

The bg-color of neovim with dracula theme is not as in their site. #286

Closed anukaransubedi closed 2 years ago

anukaransubedi commented 2 years ago
vim

The official site of dracula shows the background colour as above but my background color of neovim is as follows.

image

how to make my neovim look like shown in the official site of dracula??

My init.vim file: image

benknoble commented 2 years ago

Try :let g:dracula_colorterm = 1 as in :help dracula; that effectively lets your terminal background take precedence by not using a background for vim via the Normal highlight group (IIRC).

anukaransubedi commented 2 years ago

if i do it 1 then it stays as before but when its value is 0 it becomes black as follows image

but i want to make it as in the official website's page. the theme works fine for vscode as well :

image

but sadly it doesn't work with neovim. neither with vim

benknoble commented 2 years ago

Ah, sorry, should have been 0. And you still need a terminal with the right background color.

Better yet if your terminal supports truecolor; then you'll get unapproximated colors.

anukaransubedi commented 2 years ago

Thanks for your help. but i switched to nightfox.