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"),
|
2024-10-10 13:23:08 -07:00
|
|
|
require("plugins.trouble"),
|
2024-10-10 14:18:39 -07:00
|
|
|
require("plugins.render-markdown"),
|
2024-10-10 13:23:08 -07:00
|
|
|
require("plugins.toggleterm"),
|
2024-10-29 23:05:19 -07:00
|
|
|
require("plugins.by-lang.latex"),
|
2024-12-29 00:31:14 -08:00
|
|
|
require("plugins.neogit"),
|
2024-12-29 15:24:22 -08:00
|
|
|
require("plugins.obsidian"),
|
2024-12-29 19:18:48 -08:00
|
|
|
require("plugins.starter"),
|
2024-10-11 12:28:29 -07:00
|
|
|
{ "vim-wakatime" },
|
2024-11-19 15:41:15 -08:00
|
|
|
{ "clangd_extensions.nvim" },
|
2024-10-10 17:54:49 -07:00
|
|
|
{ "vim-sleuth" },
|
2024-10-10 00:48:10 -07:00
|
|
|
{
|
|
|
|
"nvim-lspconfig",
|
|
|
|
event = "BufEnter",
|
2024-10-11 21:08:07 -07:00
|
|
|
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" },
|
|
|
|
{
|
2024-10-10 13:23:08 -07:00
|
|
|
"markdown-preview.nvim",
|
|
|
|
filetypes = { "markdown" },
|
2024-10-10 00:48:10 -07:00
|
|
|
},
|
|
|
|
{
|
2024-12-28 21:50:42 -08:00
|
|
|
"typst-preview.nvim",
|
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 = {
|
2024-10-14 17:43:34 -07:00
|
|
|
["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,
|
|
|
|
},
|
|
|
|
{
|
2024-12-28 22:50:04 -08:00
|
|
|
"fidget.nvim",
|
2024-10-10 00:48:10 -07:00
|
|
|
after = function()
|
2024-12-28 22:50:04 -08:00
|
|
|
require("fidget").setup({
|
|
|
|
notification = {
|
|
|
|
override_vim_notify = true,
|
|
|
|
window = {
|
|
|
|
border = "rounded",
|
|
|
|
x_padding = 1,
|
|
|
|
y_padding = 2,
|
|
|
|
},
|
|
|
|
},
|
2024-12-28 22:04:12 -08:00
|
|
|
})
|
2024-10-10 00:48:10 -07:00
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cellular-automaton.nvim",
|
|
|
|
cmd = "CellularAutomaton",
|
2024-10-10 13:23:08 -07:00
|
|
|
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",
|
2024-10-10 13:23:08 -07:00
|
|
|
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,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"undotree",
|
|
|
|
cmd = "UndotreeToggle",
|
2024-10-10 13:23:08 -07:00
|
|
|
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,
|
|
|
|
},
|
2024-10-10 14:39:16 -07:00
|
|
|
{
|
|
|
|
"crates.nvim",
|
2024-10-11 12:27:35 -07:00
|
|
|
event = "BufRead Cargo.toml",
|
2024-10-10 14:39:16 -07:00
|
|
|
after = function()
|
2024-10-11 23:50:55 -07:00
|
|
|
require("crates").setup({})
|
2024-10-10 14:39:16 -07:00
|
|
|
end,
|
|
|
|
},
|
|
|
|
{ "rustaceanvim" },
|
|
|
|
{ "haskell-tools.nvim" },
|
2024-10-17 01:10:32 -07:00
|
|
|
{
|
|
|
|
"typescript-tools.nvim",
|
|
|
|
filetypes = { "typescriptreact", "typescript", "javascript", "svelte", "javascriptreact" },
|
|
|
|
after = function()
|
2024-10-17 01:12:45 -07:00
|
|
|
require("lz.n").trigger_load("nvim-lspconfig")
|
2024-10-17 01:14:32 -07:00
|
|
|
require("typescript-tools").setup({})
|
2024-10-17 01:10:32 -07:00
|
|
|
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-12-05 22:54:16 -08:00
|
|
|
{
|
|
|
|
"tailwind-tools.nvim",
|
|
|
|
after = function()
|
2024-12-05 22:57:44 -08:00
|
|
|
local lz = require("lz.n")
|
|
|
|
|
|
|
|
lz.trigger_load("telescope.nvim")
|
|
|
|
lz.trigger_load("nvim-lspconfig")
|
|
|
|
|
2024-12-29 16:29:02 -08:00
|
|
|
---@diagnostic disable-next-line: missing-fields
|
2024-12-05 22:57:44 -08:00
|
|
|
require("tailwind-tools").setup({
|
2024-12-28 21:50:42 -08:00
|
|
|
conceal = { enabled = true },
|
|
|
|
document_color = { enabled = true },
|
2024-12-05 22:57:44 -08:00
|
|
|
})
|
2025-01-11 01:11:55 -08:00
|
|
|
|
|
|
|
vim.keymap.set("n", "<leader>ft", function()
|
|
|
|
vim.cmd("Telescope tailwind utilities")
|
|
|
|
end, { desc = "Search through TailwindCSS utility classes available in the project." })
|
2024-12-05 22:54:16 -08:00
|
|
|
end,
|
|
|
|
},
|
2024-12-28 21:50:42 -08:00
|
|
|
{ "blink-ripgrep", lazy = true },
|
2024-12-29 15:53:22 -08:00
|
|
|
{ "blink.compat", lazy = true },
|
2024-12-28 22:04:12 -08:00
|
|
|
{
|
|
|
|
"lazydev.nvim",
|
|
|
|
filetypes = { "lua" },
|
|
|
|
after = function()
|
|
|
|
require("lazydev").setup()
|
|
|
|
end,
|
|
|
|
},
|
2024-12-28 23:10:49 -08:00
|
|
|
{
|
2024-12-29 15:24:46 -08:00
|
|
|
"rose-pine",
|
|
|
|
colorscheme = { "rose-pine", "rose-pine-dawn", "rose-pine-moon", "rose-pine-main" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"oxocarbon.nvim",
|
|
|
|
colorscheme = { "oxocarbon" },
|
2024-12-28 23:10:49 -08:00
|
|
|
},
|
2024-12-29 16:29:02 -08:00
|
|
|
{
|
|
|
|
"pomo-nvim",
|
|
|
|
cmd = { "TimerStart", "TimerRepeat", "TimerSession" },
|
|
|
|
after = function()
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
require("pomo").setup({
|
|
|
|
notifiers = {
|
|
|
|
{
|
|
|
|
name = "Default",
|
|
|
|
opts = {
|
|
|
|
sticky = false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ name = "System" },
|
|
|
|
},
|
|
|
|
sessions = {
|
|
|
|
pomodoro = {
|
|
|
|
{ name = "Work", duration = "25m" },
|
|
|
|
{ name = "Short Break", duration = "5m" },
|
|
|
|
{ name = "Work", duration = "25m" },
|
|
|
|
{ name = "Short Break", duration = "5m" },
|
|
|
|
{ name = "Work", duration = "25m" },
|
|
|
|
{ name = "Long Break", duration = "15m" },
|
|
|
|
},
|
|
|
|
grind = {
|
|
|
|
{ name = "Work", duration = "45m" },
|
|
|
|
{ name = "Short Break", duration = "5m" },
|
|
|
|
{ name = "Work", duration = "45m" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
keys = {
|
|
|
|
{
|
|
|
|
"<leader>fp",
|
|
|
|
function()
|
|
|
|
require("telescope").load_extension("pomodori")
|
|
|
|
require("telescope").extensions.pomodori.timers()
|
|
|
|
end,
|
|
|
|
desc = "Manage Pomodori Timers",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2025-01-18 14:12:55 -08:00
|
|
|
{
|
|
|
|
"dropbar.nvim",
|
|
|
|
after = function()
|
|
|
|
local dropbar_api = require("dropbar.api")
|
|
|
|
vim.keymap.set("n", "<Leader>;", dropbar_api.pick, { desc = "Pick symbols in winbar" })
|
|
|
|
vim.keymap.set("n", "[;", dropbar_api.goto_context_start, { desc = "Go to start of current context" })
|
|
|
|
vim.keymap.set("n", "];", dropbar_api.select_next_context, { desc = "Select next context" })
|
|
|
|
end,
|
|
|
|
},
|
2025-01-18 14:35:52 -08:00
|
|
|
{
|
|
|
|
"mini.files",
|
|
|
|
after = function()
|
|
|
|
require("mini.files").setup({
|
|
|
|
windows = { preview = true, width_preview = 40 },
|
|
|
|
})
|
|
|
|
|
|
|
|
vim.keymap.set("n", "<leader>e", function()
|
|
|
|
MiniFiles.open(vim.api.nvim_buf_get_name(0))
|
|
|
|
end)
|
|
|
|
vim.keymap.set("n", "<leader>fe", function()
|
|
|
|
MiniFiles.open(nil, false)
|
|
|
|
end)
|
|
|
|
end,
|
|
|
|
},
|
2024-10-10 00:48:10 -07:00
|
|
|
}
|