Files
keycodex/lua/plugins/ui/dracula.lua
T
2024-04-27 00:09:57 +05:45

70 lines
2.3 KiB
Lua

local dracula = require("dracula")
dracula.setup({
colors = {
bg = "#282A36",
fg = "#F8F8F2",
selection = "#44475A",
comment = "#6272A4",
red = "#FF5555",
orange = "#FFB86C",
yellow = "#F1FA8C",
green = "#50fa7b",
purple = "#BD93F9",
cyan = "#8BE9FD",
pink = "#FF79C6",
bright_red = "#FF6E6E",
bright_green = "#69FF94",
bright_yellow = "#FFFFA5",
bright_blue = "#D6ACFF",
bright_magenta = "#FF92DF",
bright_cyan = "#A4FFFF",
bright_white = "#FFFFFF",
menu = "#21222C",
visual = "#3E4452",
gutter_fg = "#4B5263",
nontext = "#3B4048",
},
-- 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 = {
PmenuSel = {link = "lualine_a_insert"},
TelescopeSelection = {link = "lualine_a_insert"},
BufferTabpages = {link = "lualine_a_visual"}
-- Nothing = {} -- clear highlight of Nothing
},
integrations = {
cmp = true,
fidget = true,
gitsigns = true,
harpoon = true,
indent_blankline = {
enabled = false,
colored_indent_levels = false,
},
mason = true,
native_lsp = { enabled = true },
noice = true,
notify = true,
symbols_outline = true,
telescope = true,
treesitter = true,
treesitter_context = true,
},
})
vim.cmd.colorscheme("dracula")
-- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480)
for _, group in ipairs(vim.fn.getcompletion("@lsp", "highlight")) do
vim.api.nvim_set_hl(0, group, {})
end