Dot_Files/.config/nvim/lua/core/theme.lua

25 lines
516 B
Lua
Raw Normal View History

2022-01-10 09:55:15 -06:00
local M = {}
M.setup = function()
vim.g.tokyonight_style = "night"
vim.g.tokyonight_transparent = true
vim.g.tokyonight_transparent_sidebar = true
2022-01-10 09:55:15 -06:00
local colorscheme_name = "tokyonight"
local loaded, _ = pcall(vim.cmd, "colorscheme " ..colorscheme_name)
if not loaded then
vim.notify(
"Colorscheme \"" ..colorscheme_name.. "\" could not be loaded!",
vim.lsp.log_levels.WARN,
{
title = "Colorscheme",
}
)
end
2022-03-06 22:37:35 -06:00
vim.api.nvim_set_hl(0, 'SpecialKey', { fg = "#61AFEF" })
2022-01-10 09:55:15 -06:00
end
return M