askfiy / visual_studio_code

A `neovim` theme that highly restores `vscode`, so that your friends will no longer be surprised that you use `neovim`, because they will think you are using `vscode` ..
Mozilla Public License 2.0
182 stars 12 forks source link

when use visual_studio_code theme, some error dumped #9

Open paopaol opened 4 weeks ago

paopaol commented 4 weeks ago

E5108: Error executing lua: ...lazy/telescope.nvim/lua/telescope/builtin/__internal.lua:1131: /home/jz/.local/share/nvim/lazy/visual_studio_code/colors/visual_studio_code.vim, line 1: Vim(lua):E5108: Error executing lua ...re/nvim/lazy/nvim-web-devicons/lua/nvim-web-devicons.lua:565: bad argument #2 to 'get_highlight_foreground' (number expected, got nil) stack traceback: [C]: in function 'get_highlight_foreground' ...re/nvim/lazy/nvim-web-devicons/lua/nvim-web-devicons.lua:565: in function 'get_icon_colors' ...re/nvim/lazy/nvim-web-devicons/lua/nvim-web-devicons.lua:578: in function 'get_icon_color' .../lua/visual_studio_code/core/expands/bufferline/init.lua:259: in function 'get_fileicons_highlights' .../lua/visual_studio_code/core/expands/bufferline/init.lua:243: in function 'get_highlight' .../visual_studio_code/lua/visual_studio_code/core/init.lua:21: in function 'get_expands_highlight' .../lazy/visual_studio_code/lua/visual_studio_code/init.lua:23: in function 'apply_expands_highlight' .../lazy/visual_studio_code/lua/visual_studio_code/init.lua:74: in function 'enter' [string ":lua"]:1: in main chunk [C]: in function 'colorscheme' ...lazy/telescope.nvim/lua/telescope/builtin/internal.lua:1131: in function 'set_selection' ...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:912: in function 'move_selection' ...e/nvim/lazy/telescope.nvim/lua/telescope/actions/set.lua:39: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'shift_selection' .../nvim/lazy/telescope.nvim/lua/telescope/actions/init.lua:87: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func' ...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:293: in function <...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:292> stack traceback: [C]: in function 'colorscheme' ...lazy/telescope.nvim/lua/telescope/builtin/internal.lua:1131: in function 'set_selection' ...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:912: in function 'move_selection' ...e/nvim/lazy/telescope.nvim/lua/telescope/actions/set.lua:39: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'shift_selection' .../nvim/lazy/telescope.nvim/lua/telescope/actions/init.lua:87: in function 'run_replace_or_original' ...re/nvim/lazy/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func' ...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:293: in function <...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:292>

askfiy commented 4 weeks ago

please give me u setup config. and nvim version?

paopaol commented 3 weeks ago

neovim version

NVIM v0.11.0-dev-951+gc4762b3097       
Build type: Release  
LuaJIT 2.1.1727870382 

nvim-web-devicons version

commit 19d257c

visual_studio_code setup

require("visual_studio_code").setup({ mode = "dark" })