viminal2/lua/plugins/lz-spec.lua

249 lines
5.1 KiB
Lua

return {
require("plugins.blink-cmp"),
require("plugins.telescope"),
require("plugins.oil"),
require("plugins.harpoon"),
require("plugins.lualine"),
require("plugins.conform"),
require("plugins.lsp-progress"),
require("plugins.gitsigns"),
require("plugins.autopairs"),
require("plugins.trouble"),
require("plugins.render-markdown"),
require("plugins.toggleterm"),
require("plugins.by-lang.latex"),
require("plugins.neogit"),
require("plugins.obsidian"),
{ "vim-wakatime" },
{ "clangd_extensions.nvim" },
{ "vim-sleuth" },
{
"nvim-lspconfig",
event = "BufEnter",
after = require("lsp").setup,
},
{
"which-key.nvim",
after = function()
require("which-key").setup({
delay = 1000,
})
end,
},
{ "nvim-web-devicons" },
{
"markdown-preview.nvim",
filetypes = { "markdown" },
},
{
"typst-preview.nvim",
filetypes = { "*.typ" },
after = function()
require("typst-preview").setup({
dependencies_bin = {
["tinymist"] = nixCats("bin.tinymist"),
["websocat"] = nixCats("bin.websocat"),
},
})
end,
},
{
"mini.ai",
event = "BufEnter",
after = function()
require("mini.ai").setup()
end,
},
{
"mini.surround",
event = "BufEnter",
after = function()
require("mini.surround").setup()
end,
},
{
"mini.starter",
after = function()
require("mini.starter").setup()
end,
},
{
"fidget.nvim",
after = function()
require("fidget").setup({
notification = {
override_vim_notify = true,
window = {
border = "rounded",
x_padding = 1,
y_padding = 2,
},
},
})
end,
},
{
"mini.trailspace",
event = "BufEnter",
after = function()
require("mini.trailspace").setup()
end,
},
{
"cellular-automaton.nvim",
cmd = "CellularAutomaton",
keys = {
{
"<leader>mr",
function()
vim.cmd.CellularAutomaton("make_it_rain")
end,
desc = "A surprise!",
mode = "n",
},
{
"<leader>bruh",
function()
vim.cmd.CellularAutomaton("game_of_life")
end,
desc = "A surprise!",
mode = "n",
},
},
},
{
"indent-blankline.nvim",
after = function()
require("ibl").setup({
indent = {
char = "",
tab_char = "",
},
scope = { show_start = false, show_end = false },
exclude = {
filetypes = {
"help",
"ministarter",
"Trouble",
"trouble",
"toggleterm",
},
},
})
end,
},
{
"mini.bufremove",
keys = {
{
"<leader>bd",
function()
MiniBufremove.delete()
end,
mode = { "n", "v" },
desc = "Close buffer",
},
},
after = function()
require("mini.bufremove").setup()
end,
},
{
"mini.hipatterns",
event = "BufEnter",
after = function()
require("mini.hipatterns").setup()
end,
},
{
"barbecue.nvim",
event = "BufEnter",
after = function()
require("barbecue").setup()
end,
},
{
"undotree",
cmd = "UndotreeToggle",
keys = {
{
"<leader>u",
function()
vim.cmd.UndotreeToggle()
end,
desc = "Toggle undotree",
mode = "n",
},
},
},
{
"neocord",
event = "BufEnter",
after = function()
require("neocord").setup({
editing_text = "Hacking %s",
logo_tooltip = "The One True Text Editor",
terminal_text = "Bypassing the mainframe",
workspace_text = "The One True Text Editor",
})
end,
},
{
"crates.nvim",
event = "BufRead Cargo.toml",
after = function()
require("crates").setup({})
end,
},
{ "rustaceanvim" },
{ "haskell-tools.nvim" },
{
"typescript-tools.nvim",
filetypes = { "typescriptreact", "typescript", "javascript", "svelte", "javascriptreact" },
after = function()
require("lz.n").trigger_load("nvim-lspconfig")
require("typescript-tools").setup({})
end,
},
{
"lsp_lines.nvim",
event = "LspAttach",
after = function()
require("lsp_lines").setup()
vim.diagnostic.config({
virtual_text = false,
virtual_lines = { only_current_line = true },
})
end,
},
{
"tailwind-tools.nvim",
after = function()
local lz = require("lz.n")
lz.trigger_load("telescope.nvim")
lz.trigger_load("nvim-lspconfig")
require("tailwind-tools").setup({
conceal = { enabled = true },
document_color = { enabled = true },
})
end,
},
{ "blink-ripgrep", lazy = true },
{
"lazydev.nvim",
filetypes = { "lua" },
after = function()
require("lazydev").setup()
end,
},
{
"rose-pine",
colorscheme = { "rose-pine", "rose-pine-dawn", "rose-pine-moon", "rose-pine-main" },
},
{
"oxocarbon.nvim",
colorscheme = { "oxocarbon" },
},
}