Dracula colorscheme for NEOVIM written in Lua
Forked from mofiqul/dracula.nvim
- Neovim >= 0.5.0
Install via package manager
-- Using Packer:
use 'babchoo/dracula.nvim'
-- Lua:
vim.cmd[[colorscheme dracula]]
If you are using lualine
, you can also enable the provided theme:
Make sure to set theme as 'dracula-nvim' as dracula already exists in lualine built in themes
require('lualine').setup {
options = {
theme = 'dracula-nvim'
}
}
-- customize dracula color palette
vim.g.dracula_colors = {
comment = "#7970a9",
menu = "#22212c",
nontext = "#3b4048",
visual = "#44475a",
orange = "#ffca80",
black = "#1a1826",
red = "#ff5555",
green = "#8aff80",
yellow = "#ffff80",
purple = "#9580ff",
pink = "#ff80bf",
cyan = "#80ffea",
white = "#f8f8f2",
selection = "#44475a",
bright_red = "#ff6e6e",
bright_green = "#a2ff99",
bright_yellow = "#ffff99",
bright_blue = "#aa99ff",
bright_magenta = "#ff99cc",
bright_cyan = "#99ffee",
bright_white = "#ffffff",
bg = "#22212c",
fg = "#f8f8f2",
}
-- set italic comment
vim.g.dracula_italic_comment = true