This commit is contained in:
asep komarudin 2023-02-08 09:17:07 +07:00
parent cdb5318081
commit 8d4d67f3d2
2 changed files with 22 additions and 8 deletions

View file

@ -11,9 +11,11 @@ return {
-- color scheme
{
"folke/tokyonight.nvim",
lazy = true,
-- opts = { style = "moon" },
-- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
--lazy = false, -- make sure we load this during startup if it is your main colorscheme
--priority = 1000, -- make sure to load this before all the other start plugins
config = function()
local is_transparant = false
if is_transparant then
@ -414,6 +416,18 @@ return {
{
"stevearc/dressing.nvim",
event = "BufWinEnter",
init = function()
---@diagnostic disable-next-line: duplicate-set-field
vim.ui.select = function(...)
require("lazy").load({ plugins = { "dressing.nvim" } })
return vim.ui.select(...)
end
---@diagnostic disable-next-line: duplicate-set-field
vim.ui.input = function(...)
require("lazy").load({ plugins = { "dressing.nvim" } })
return vim.ui.input(...)
end
end,
config = function()
require("user.dressing")
end,