SoloVim/lua/user/colorscheme.lua
Kristofers Solo b6665c490e Added readme
2023-04-23 23:28:53 +03:00

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