base16: Change syntax for new changes in base16 repo (#226)

This commit is contained in:
Aki 2021-08-10 16:49:18 +05:30 committed by GitHub
parent f22366eac9
commit 0423da189c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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