feat: enable optional use of Astral colorscheme management via global variable
This commit is contained in:
@@ -177,7 +177,9 @@ vim.g.disable_transparency = true ---@type boolean Options: <true|
|
|||||||
-- Auto Dark-mode
|
-- Auto Dark-mode
|
||||||
vim.g.autodarkmode = true ---@type boolean Options: <true|false>
|
vim.g.autodarkmode = true ---@type boolean Options: <true|false>
|
||||||
-- Set colorcolumn
|
-- Set colorcolumn
|
||||||
--vim.opt.colorcolumn = "120" ---@type string|table Options: [column]
|
--vim.opt.colorcolumn = "120" ---@type string|table Options: [column]
|
||||||
|
--Use Astral colorscheme management
|
||||||
|
vim.g.use_astral = false ---@type boolean Options: <true|false>
|
||||||
|
|
||||||
-- ━━━━━━━━━━━━━━━━━━━━━━━━━ TABS AND INDENTATION ━━━━━━━━━━━━━━━━━━━━━━━━
|
-- ━━━━━━━━━━━━━━━━━━━━━━━━━ TABS AND INDENTATION ━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
return { -- Astral
|
return { -- Astral
|
||||||
"rootiest/astral.nvim",
|
"rootiest/astral.nvim",
|
||||||
version = "*", -- Pin to GitHub releases
|
version = "*", -- Pin to GitHub releases
|
||||||
|
enabled = require("data.func").check_global_var("use_astral", true, true),
|
||||||
opts = {
|
opts = {
|
||||||
fallback_themes = {
|
fallback_themes = {
|
||||||
"catppuccin-macchiato",
|
"catppuccin-macchiato",
|
||||||
|
|||||||
Reference in New Issue
Block a user