Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
692 stars 111 forks source link

Fix devicon color issue by loading theme with vim.cmd #182

Closed rykersun closed 4 months ago

rykersun commented 4 months ago

I noticed that when the project "vscode theme" loads using require('vscode').load(), it affects the colors of devicons (there's a chance that the icons fail to color every time it's opened). I'm not sure why this issue occurs, but I found that using vim.cmd.colorscheme "vscode" to load doesn't encounter the problem. Although not everyone uses devicon, I think it's worth mentioning in the README to alert users who use both devicon and the vscode theme.