diff --git a/.ci/detach_plugin.sh b/.ci/detach_plugin.sh index df6272ffe..acd5c565d 100755 --- a/.ci/detach_plugin.sh +++ b/.ci/detach_plugin.sh @@ -586,6 +586,10 @@ EOT _detact_bundle winbar.nvim plugin/winbar.lua _detact LICENSE _detact_bundle winbar.nvim README.md + _checkdir autoload/SpaceVim/mapping/guide/theme + _detact autoload/SpaceVim/mapping/guide/theme/gruvbox.vim + _checkdir lua/spacevim/api/vim + _detact lua/spacevim/api/vim/highlight.lua ;; GitHub.vim) git clone https://github.com/wsdjeg/GitHub.vim.git detach/$1 diff --git a/bundle/winbar.nvim/lua/winbar/init.lua b/bundle/winbar.nvim/lua/winbar/init.lua index 532df3afb..e567d8987 100644 --- a/bundle/winbar.nvim/lua/winbar/init.lua +++ b/bundle/winbar.nvim/lua/winbar/init.lua @@ -19,7 +19,7 @@ local function def_colors() local t - if #vim.g.spacevim_custom_color_palette > 0 then + if vim.g.spacevim_custom_color_palette and #vim.g.spacevim_custom_color_palette > 0 then t = vim.g.spacevim_custom_color_palette else local ok = pcall(function()