2022-01-10 09:55:15 -06:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
M.setup = function()
|
2022-07-08 16:39:06 -05:00
|
|
|
vim.g.tokyonight_style = 'night'
|
2022-05-11 21:00:57 -05:00
|
|
|
vim.g.tokyonight_transparent = true
|
|
|
|
vim.g.tokyonight_transparent_sidebar = true
|
2022-01-10 09:55:15 -06:00
|
|
|
|
2022-05-11 21:00:57 -05:00
|
|
|
local colorscheme_name = 'tokyonight'
|
|
|
|
local loaded, _ = pcall(vim.cmd, 'colorscheme ' .. colorscheme_name)
|
2022-01-12 23:19:36 -06:00
|
|
|
|
2022-05-11 21:00:57 -05:00
|
|
|
if not loaded then
|
|
|
|
vim.notify('Colorscheme "' .. colorscheme_name .. '" could not be loaded!', vim.lsp.log_levels.WARN, {
|
|
|
|
title = 'Colorscheme',
|
|
|
|
})
|
|
|
|
end
|
2022-01-12 23:19:36 -06:00
|
|
|
|
2022-05-11 21:00:57 -05:00
|
|
|
vim.api.nvim_set_hl(0, 'SpecialKey', { fg = '#61AFEF' })
|
2022-01-10 09:55:15 -06:00
|
|
|
end
|
|
|
|
return M
|