feat: dracula

pull/122/head
Colin Graydon 2025-03-12 00:16:33 -04:00
parent 3762c3e850
commit 943eed2ab6
2 changed files with 32 additions and 0 deletions

View File

@ -9,6 +9,7 @@
"conform.nvim": { "branch": "master", "commit": "db8a4a9edb217067b1d7a2e0362c74bfe9cc944d" },
"copilot.lua": { "branch": "master", "commit": "30321e33b03cb924fdcd6a806a0dc6fa0b0eafb9" },
"crates.nvim": { "branch": "main", "commit": "403a0abef0e2aec12749a534dc468d6fd50c6741" },
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
"flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" },

View File

@ -0,0 +1,31 @@
-- In ~/.config/nvim/lua/plugins/colorscheme.lua
return {
-- Add Dracula colorscheme
{
"Mofiqul/dracula.nvim",
lazy = false,
priority = 1000,
config = function()
-- First load the colorscheme
vim.cmd([[colorscheme dracula]])
-- Then override the problematic highlight groups
vim.api.nvim_set_hl(0, "NeoTreeDirectoryName", { fg = "#BD93F9" }) -- Purple for directories
vim.api.nvim_set_hl(0, "NeoTreeDirectoryIcon", { fg = "#BD93F9" })
vim.api.nvim_set_hl(0, "NeoTreeNormal", { fg = "#F8F8F2" }) -- Lighter text
-- For NvimTree (if you're using that instead)
vim.api.nvim_set_hl(0, "NvimTreeFolderName", { fg = "#BD93F9" })
vim.api.nvim_set_hl(0, "NvimTreeFolderIcon", { fg = "#BD93F9" })
vim.api.nvim_set_hl(0, "NvimTreeNormal", { fg = "#F8F8F2" })
end,
},
-- Configure LazyVim to use Dracula
{
"LazyVim/LazyVim",
opts = {
colorscheme = "dracula",
},
},
}