base16: Change syntax for new changes in base16 repo (#226)
This commit is contained in:
parent
f22366eac9
commit
0423da189c
@ -24,7 +24,7 @@ M.reload_theme = function(theme_name)
|
|||||||
print("Error: Cannot load base16 plugin!")
|
print("Error: Cannot load base16 plugin!")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
base16(base16.themes[theme_name], true)
|
base16(base16.themes(theme_name), true)
|
||||||
|
|
||||||
if
|
if
|
||||||
not reload_plugin {
|
not reload_plugin {
|
||||||
|
@ -4,7 +4,7 @@ vim.g.nvchad_theme = chad_theme
|
|||||||
local present, base16 = pcall(require, "base16")
|
local present, base16 = pcall(require, "base16")
|
||||||
|
|
||||||
if present then
|
if present then
|
||||||
base16(base16.themes[chad_theme], true)
|
base16(base16.themes(chad_theme), true)
|
||||||
require "highlights"
|
require "highlights"
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user