neovim-config/lua/colorscheme.lua

7 lines
201 B
Lua
Raw Normal View History

2022-11-25 12:03:22 +08:00
local colorscheme = "tokyonight"
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
vim.notify("colorscheme " .. colorscheme .. " 没有找到!")
return
end