mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 04:00:03 +08:00
fix(winbar): fix detact script
This commit is contained in:
parent
6b2c2edc33
commit
b665b9a2de
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user