1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 01:10:04 +08:00

fix(winbar): fix detact script

This commit is contained in:
Eric Wong 2025-01-15 01:24:41 +08:00
parent 6b2c2edc33
commit b665b9a2de
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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()