viminal2/lua/plugins/lz-spec.lua

253 lines
5.2 KiB
Lua
Raw Normal View History

2024-10-09 17:13:16 -07:00
return {
2024-10-10 00:48:10 -07:00
require("plugins.blink-cmp"),
require("plugins.telescope"),
require("plugins.oil"),
require("plugins.harpoon"),
require("plugins.lualine"),
require("plugins.conform"),
2024-10-10 01:14:12 -07:00
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"),
{ "telescope-ui-select.nvim" },
2024-10-11 12:28:29 -07:00
{ "vim-wakatime" },
{ "vim-sleuth" },
2024-10-10 00:48:10 -07:00
{
"nvim-lspconfig",
event = "BufEnter",
after = require("lsp").setup,
2024-10-10 00:48:10 -07:00
},
{
"which-key.nvim",
after = function()
require("which-key").setup({
delay = 1000,
})
end,
},
{ "nvim-web-devicons" },
{ "rose-pine", priority = 100 },
2024-10-10 00:48:10 -07:00
{
"markdown-preview.nvim",
filetypes = { "markdown" },
2024-10-10 00:48:10 -07:00
},
{
"typst-preview",
2024-10-10 01:14:12 -07:00
filetypes = { "*.typ" },
2024-10-10 00:48:10 -07:00
after = function()
require("typst-preview").setup({
dependencies_bin = {
["tinymist"] = nixCats("bin.tinymist"),
2024-10-10 00:48:10 -07:00
["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,
},
{
"mini.notify",
after = function()
require("mini.notify").setup({
2024-10-10 13:36:56 -07:00
-- handled by statusline
2024-10-10 00:48:10 -07:00
lsp_progress = { enable = false },
})
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",
},
},
2024-10-10 00:48:10 -07:00
},
{
"indent-blankline.nvim",
after = function()
require("ibl").setup({
2024-10-10 00:21:39 -07:00
indent = {
char = "",
tab_char = "",
},
scope = { show_start = false, show_end = false },
exclude = {
filetypes = {
"help",
"ministarter",
"Trouble",
"trouble",
"toggleterm",
},
},
2024-10-10 00:48:10 -07:00
})
end,
},
{
"mini.bufremove",
keys = {
{
"<leader>bd",
function()
MiniBufremove.delete()
end,
mode = { "n", "v" },
desc = "Close buffer",
},
},
2024-10-10 00:48:10 -07:00
after = function()
require("mini.bufremove").setup()
end,
},
{
"mini.hipatterns",
event = "BufEnter",
after = function()
require("mini.hipatterns").setup()
end,
},
{
"neogit",
cmd = "Neogit",
keys = {
{
"<leader>gg",
function()
vim.cmd.Neogit()
end,
desc = "Open neogit",
mode = "n",
},
{
"<leader>gc",
function()
vim.cmd.Neogit("kind=floating commit")
end,
desc = "Open neogit commit menu",
mode = "n",
},
},
before = function()
local lz = require("lz.n")
lz.trigger_load("diffview.nvim")
lz.trigger_load("telescope.nvim")
end,
2024-10-10 00:48:10 -07:00
after = function()
require("neogit").setup({
graph_style = "unicode",
integrations = {
telescope = true,
diffview = true,
},
})
end,
},
{
"diffiew.nvim",
cmd = { "DiffviewOpen", "DiffviewClose", "DiffviewToggleFiles", "DiffviewFocusFiles", "DiffviewRefresh" },
},
{
"barbecue.nvim",
event = "BufEnter",
after = function()
require("barbecue").setup()
2024-10-10 00:48:10 -07:00
end,
},
{
"undotree",
cmd = "UndotreeToggle",
keys = {
{
"<leader>u",
function()
vim.cmd.UndotreeToggle()
end,
desc = "Toggle undotree",
mode = "n",
},
},
2024-10-10 00:48:10 -07:00
},
2024-10-10 13:52:42 -07:00
{
"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,
},
2024-10-11 12:51:01 -07:00
{
"lsp_lines.nvim",
event = "LspAttach",
after = function()
require("lsp_lines").setup()
vim.diagnostic.config({
virtual_text = false,
virtual_lines = { only_current_line = true },
})
end,
},
2024-10-10 00:48:10 -07:00
}