my-nvim-setup/lua/theme.lua
Akianonymus 9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
2021-07-17 22:10:25 +05:30

10 lines
183 B
Lua

vim.g.nvchad_theme = "onedark"
local present, base16 = pcall(require, "base16")
if present then
base16(base16.themes["onedark"], true)
return true
else
return false
end