dotfiles/nvim/lua/plugins/dracula.lua

54 lines
1.4 KiB
Lua
Raw Normal View History

2024-06-22 21:32:40 +02:00
return {
2024-03-02 17:25:11 +01:00
{
'maxmx03/dracula.nvim',
lazy = false,
2024-06-22 21:32:40 +02:00
priority = 1000,
2024-03-02 17:25:11 +01:00
config = function ()
2024-06-22 21:32:40 +02:00
---@type dracula
local dracula = require "dracula"
dracula.setup({
transparent = false,
on_colors = function (colors, color)
---@type dracula.palette
return {
-- override or create new colors
mycolor = "#ffffff",
}
end,
on_highlights = function (colors, color)
---@type dracula.highlights
return {
---@type vim.api.keyset.highlight
Normal = { fg = colors.mycolor }
}
end,
plugins = {
["nvim-treesitter"] = true,
["nvim-lspconfig"] = true,
["nvim-navic"] = true,
["nvim-cmp"] = true,
["indent-blankline.nvim"] = true,
["neo-tree.nvim"] = true,
["nvim-tree.lua"] = true,
["which-key.nvim"] = true,
["dashboard-nvim"] = true,
["gitsigns.nvim"] = true,
["neogit"] = true,
["todo-comments.nvim"] = true,
["lazy.nvim"] = true,
["telescope.nvim"] = true,
["noice.nvim"] = true,
["hop.nvim"] = true,
["mini.statusline"] = true,
["mini.tabline"] = true,
["mini.starter"] = true,
["mini.cursorword"] = true,
}
})
2024-03-02 17:25:11 +01:00
vim.cmd.colorscheme 'dracula'
2024-06-22 21:32:40 +02:00
vim.cmd.colorscheme 'dracula-soft'
2024-03-02 17:25:11 +01:00
end
}
}