mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
base16: Change syntax for new changes in base16 repo (#226)
This commit is contained in:
parent
f22366eac9
commit
0423da189c
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ M.reload_theme = function(theme_name)
|
|||
print("Error: Cannot load base16 plugin!")
|
||||
return false
|
||||
end
|
||||
base16(base16.themes[theme_name], true)
|
||||
base16(base16.themes(theme_name), true)
|
||||
|
||||
if
|
||||
not reload_plugin {
|
||||
|
|
|
@ -4,7 +4,7 @@ vim.g.nvchad_theme = chad_theme
|
|||
local present, base16 = pcall(require, "base16")
|
||||
|
||||
if present then
|
||||
base16(base16.themes[chad_theme], true)
|
||||
base16(base16.themes(chad_theme), true)
|
||||
require "highlights"
|
||||
return true
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue