diff --git a/lazy-lock.json b/lazy-lock.json index 26d23a8..2aef232 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -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" }, diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..2f73799 --- /dev/null +++ b/lua/plugins/colorscheme.lua @@ -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", + }, + }, +}