Mofiqul / vscode.nvim

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

fix: error when color_overrides not set #119

Closed wenjinnn closed 1 year ago

wenjinnn commented 1 year ago

fix a error throws when color_overrides not set in user custom config. the error msg I got as follows: Error detected while processing /home/hewenjin/project/my/config/nvim/plugin/options.vim[45]../home/hewenjin/.local/share/nvim/site/pack/packer/start/vscode.nvim/colors/vscode.lua: E5113: Error while calling lua chunk: vim/shared.lua:0: after the second argument: expected table, got nil stack traceback: [C]: in function 'error' vim/shared.lua: in function 'validate' vim/shared.lua: in function 'tbl_extend' .../site/pack/packer/start/vscode.nvim/lua/vscode/theme.lua:6: in function 'set_highlights' ...m/site/pack/packer/start/vscode.nvim/lua/vscode/init.lua:24: in function 'load' ...vim/site/pack/packer/start/vscode.nvim/colors/vscode.lua:2: in main chunk