53 lines
1.6 KiB
Lua
53 lines
1.6 KiB
Lua
require("mini.deps").setup()
|
|
local add = MiniDeps.add
|
|
|
|
-- UI & Theming
|
|
-- The colourscheme is local (colors/takemi.lua), so there is no theme plugin.
|
|
add({ source = "nvim-lualine/lualine.nvim" })
|
|
add({ source = "lewis6991/gitsigns.nvim" })
|
|
add({ source = "folke/which-key.nvim" })
|
|
add({ source = "mpas/marp-nvim" })
|
|
|
|
-- Utility & Editing
|
|
add({ source = "akinsho/toggleterm.nvim" })
|
|
add({ source = "chomosuke/typst-preview.nvim" })
|
|
add({
|
|
source = "MeanderingProgrammer/render-markdown.nvim",
|
|
depends = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" },
|
|
})
|
|
|
|
-- LSP, Formatting & Linting
|
|
add({ source = "williamboman/mason.nvim" })
|
|
add({ source = "williamboman/mason-lspconfig.nvim" })
|
|
add({ source = "neovim/nvim-lspconfig", depends = { "williamboman/mason.nvim" } })
|
|
add({ source = "stevearc/conform.nvim" })
|
|
add({ source = "mfussenegger/nvim-lint" })
|
|
add({ source = "seblyng/roslyn.nvim" })
|
|
add({ source = "tris203/rzls.nvim" })
|
|
add({ source = "https://git.narl.io/nvrl/mould-rs", checkout = "main" })
|
|
add({ source = "ray-x/go.nvim" })
|
|
|
|
-- Autocompletion
|
|
add({
|
|
source = "saghen/blink.cmp",
|
|
depends = {'saghen/blink.lib', "rafamadriz/friendly-snippets" },
|
|
hooks = {
|
|
-- NOTE: v2 also changed how the rust binary is built!
|
|
-- Replace the old 'cargo build --release' string with the new Lua API:
|
|
post_install = function() require('blink.cmp').build():pwait(60000) end,
|
|
post_checkout = function() require('blink.cmp').build():pwait(60000) end,
|
|
}
|
|
})
|
|
|
|
-- Treesitter
|
|
add({
|
|
source = "nvim-treesitter/nvim-treesitter",
|
|
checkout = "main",
|
|
monitor = "main",
|
|
hooks = {
|
|
post_checkout = function()
|
|
vim.cmd("TSUpdate")
|
|
end,
|
|
},
|
|
})
|