mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 17:03:36 +02:00
enc: global variable pcode
This commit is contained in:
parent
ecc54b9f87
commit
65857a4226
45 changed files with 132 additions and 131 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue