Skip to content

Commit c78fa9c

Browse files
committed
feat: set colorscheme when necessary if AstroUI is available
1 parent 9ac85b7 commit c78fa9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/astrocore/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,9 @@ function M.setup(opts)
646646
})
647647
end
648648
end
649+
650+
local astroui_avail, astroui = pcall(require, "astroui")
651+
if astroui_avail then astroui.set_colorscheme() end
649652
end
650653

651654
return M

0 commit comments

Comments
 (0)