mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-04 12:00:29 +00:00
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!")
|
||||
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 New Issue
Block a user