mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-04 14:34:33 +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 {
|
||||
|
||||
-- tokyonight
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("tokyonight").setup({ style = "moon" })
|
||||
vim.cmd.colorscheme("tokyonight")
|
||||
local tokyonight = require("tokyonight")
|
||||
tokyonight.setup({ style = "moon" })
|
||||
tokyonight.load()
|
||||
end,
|
||||
},
|
||||
|
||||
-- catppuccin
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue