Created
August 14, 2023 20:02
-
-
Save dvinciguerra/2bbb41cdc130c4ab917963833fa097cc to your computer and use it in GitHub Desktop.
Fix Dracula and Dracula Pro themes for Neovim using NvimTree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- fix dracula theme | |
local color = vim.g.current_colorscheme | |
if color == "dracula" or color == "dracula_pro" then | |
vim.cmd("hi link VertSplit DraculaBgDarker") | |
vim.cmd("hi link NvimTreeNormal DraculaBgDarker") | |
vim.cmd("hi link NvimTreeVertSplit DraculaBgDarker") | |
vim.cmd("hi link NvimTreeStatusLine DraculaBgDarker") | |
vim.cmd("hi link NvimTreeWinSeparator DraculaBg") | |
vim.cmd("hi link BufferCurrentMod DraculaError") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment