Comments (6)
I had the same issue, the fix was to add this snippet of code to my .vimrc:
if (has("termguicolors"))
set termguicolors
endif
from vim.
To find your TERM, you can usually printenv TERM
in a shell, or :echo $TERM
in Vim.
Alacritty does support truecolor, but you may need to have an up-to-date terminfo and corresponding TERM set.
The background can be adjusted slightly or dramatically depending on your preference. See :help dracula
.
from vim.
Note that @FinnTheTurkey's solution will only work for terminals which support 24-bit color (among them, Alacritty).
from vim.
Closing this (looks stale, and I think solutions were mentioned) with a nod to g:dracula_colorterm
.
from vim.
Hey guys,
I faced the same issue on my macos:
$> echo $TERM
xterm-256color
$> vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 17 2022 21:21:22)
macOS version - arm64
Included patches: 1-217
Compiled by [email protected]
Normal version without GUI. Features included (+) or not (-):
+acl +file_in_path -mouse_urxvt -tag_any_white
-arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte -termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
-balloon_eval +fork() +netbeans_intg +termresponse
-balloon_eval_term -gettext +num64 +textobjects
-browse -hangul_input +packages +textprop
+builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo -toolbar
+cindent +job +popupwin +user_commands
-clientserver +jumplist +postscript -vartabs
+clipboard -keymap +printer +vertsplit
+cmdline_compl +lambda -profile +vim9script
+cmdline_hist -langmap -python +viminfo
+cmdline_info +libcall -python3 +virtualedit
+comments +linebreak +quickfix +visual
-conceal +lispindent +reltime +visualextra
+cryptv +listcmds -rightleft +vreplace
+cscope +localmap +ruby/dyn +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con +mksession +smartindent +writebackup
+diff +modify_fname -sodium -X11
+digraphs +mouse -sound -xfontset
-dnd -mouseshape +spell -xim
-ebcdic -mouse_dec +startuptime -xpm
-emacs_tags -mouse_gpm +statusline -xsmp
+eval -mouse_jsbterm -sun_workshop -xterm_clipboard
+ex_extra -mouse_netterm +syntax -xterm_save
+extra_search +mouse_sgr +tag_binary
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -o vim -lm -lncurses -liconv -framework Cocoa
Dracula installed into ~/.vim/pack/themes/start/dracula
And what's interesting :help dracula
shows me E149: Sorry, no help for dracula
. Looks like the problem with installation.
from vim.
@VERGILIY that looks unrelated to this issue (I don't see how they are the same?). If you want to continue discussion, let's open a new one. I'm going to close this one like I said I would.
P.S. Try :helptags ALL
then :help dracula
.
from vim.
Related Issues (20)
- 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
- nvim nerd font icons HOT 12
- How dracula supports italics for comments HOT 4
- Lunar Vim Color Scheme Mismatch to Other Editors HOT 1
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.