enc: global variable pcode

This commit is contained in:
asep.komarudin 2024-06-14 08:21:36 +07:00
parent ecc54b9f87
commit 65857a4226
45 changed files with 132 additions and 131 deletions

View file

@ -9,7 +9,7 @@ return {
-- check config for theme
local set_theme = "auto"
local bubbles_theme
local color = vim.g.pcode_colorscheme
local color = pcode.colorscheme
switch(color, {
["tokyonight"] = function()
set_theme = "auto"
@ -44,7 +44,7 @@ return {
end
local gettheme = require "user.utils.lualine_template"
local theme_option = vim.g.pcode_lualinetheme or "rounded"
local theme_option = pcode.lualinetheme or "rounded"
local theme = gettheme.rounded(bubbles_theme)
if theme_option == "rounded" then
theme = gettheme.rounded(bubbles_theme)