Dracula colorscheme for NEOVIM written in Lua
- Neovim >= 0.5.0
- Treesitter (optional)
- LSP
- Treesitter
- nvim-compe
- nvim-cmp
- Telescope
- NvimTree
- BufferLine
- Git Signs
- Lualine
- LSPSaga
- indent-blankline
Install via package manager
-- Using Packer:
use 'Mofiqul/dracula.nvim'
" Using Vim-Plug:
Plug 'Mofiqul/dracula.nvim'
-- Lua:
vim.cmd[[colorscheme dracula]]
" Vim-Script:
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'
-- ...
}
}'
If you're using lua
-- show the '~' characters after the end of buffers
vim.g.dracula_show_end_of_buffer = true
-- use transparent background
vim.g.dracula_transparent_bg = true
-- set custom lualine background color
vim.g.dracula_lualine_bg_color = "#44475a"
The same works in viml
" show the '~' characters after the end of buffers
let g:dracula_show_end_of_buffer = 1
" use transparent background
let g:dracula_transparent_bg = 1
" set custom lualine background color
let g:dracula_lualine_bg_color = "#44475a"
require('dracula').colors()
This will return the folowing table