mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-04 22:44:39 +02:00
perf(tokyonight): use tokyonight api to load colorscheme on startup
This commit is contained in:
parent
0266bb851d
commit
75d8aff979
1 changed files with 6 additions and 2 deletions
|
@ -1,14 +1,18 @@
|
||||||
return {
|
return {
|
||||||
|
|
||||||
|
-- tokyonight
|
||||||
{
|
{
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
require("tokyonight").setup({ style = "moon" })
|
local tokyonight = require("tokyonight")
|
||||||
vim.cmd.colorscheme("tokyonight")
|
tokyonight.setup({ style = "moon" })
|
||||||
|
tokyonight.load()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- catppuccin
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue