2023-12-21 16:21:14 +01:00
|
|
|
local runtime = require("my.tempest")
|
2023-01-10 02:38:06 +01:00
|
|
|
|
2023-12-21 16:21:14 +01:00
|
|
|
if runtime.whitelist("neovide") then
|
2023-01-10 02:38:06 +01:00
|
|
|
require("my.neovide").setup()
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
|
|
|
{
|
|
|
|
-- Better ui for inputs/selects
|
|
|
|
"stevearc/dressing.nvim",
|
|
|
|
config = true,
|
|
|
|
-- https://github.com/folke/dot/blob/master/config/nvim/lua/config/plugins/init.lua
|
|
|
|
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,
|
2023-12-21 16:21:14 +01:00
|
|
|
cond = runtime.blacklist("vscode"),
|
2023-12-12 14:32:06 +01:00
|
|
|
enabled = false,
|
2023-01-10 02:38:06 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"windwp/nvim-autopairs",
|
|
|
|
event = "InsertEnter",
|
|
|
|
config = function()
|
|
|
|
require("nvim-autopairs").setup()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
}
|