mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
28 lines
828 B
Lua
28 lines
828 B
Lua
local theme_status_ok, dracula = pcall(require, "dracula")
|
|
if not theme_status_ok then
|
|
return
|
|
end
|
|
|
|
dracula.setup({
|
|
-- show the '~' characters after the end of buffers
|
|
show_end_of_buffer = true, -- default false
|
|
-- use transparent background
|
|
transparent_bg = true, -- default false
|
|
-- set custom lualine background color
|
|
-- lualine_bg_color = "#44475a", -- default nil
|
|
-- set italic comment
|
|
italic_comment = true, -- default false
|
|
-- overrides the default highlights see `:h synIDattr`
|
|
overrides = {
|
|
-- Examples
|
|
-- NonText = { fg = dracula.colors().white }, -- set NonText fg to white
|
|
-- NvimTreeIndentMarker = { link = "NonText" }, -- link to NonText highlight
|
|
-- Nothing = {} -- clear highlight of Nothing
|
|
},
|
|
})
|
|
|
|
local status_ok, _ = pcall(vim.cmd.colorscheme("dracula"))
|
|
if not status_ok then
|
|
return
|
|
end
|