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!") 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 {

View File

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