neovim configuration
This commit is contained in:
52
lua/plugins/init.lua
Normal file
52
lua/plugins/init.lua
Normal file
@@ -0,0 +1,52 @@
|
||||
require("mini.deps").setup()
|
||||
local add = MiniDeps.add
|
||||
|
||||
-- UI & Theming
|
||||
add({ source = "catppuccin/nvim", name = "catppuccin" })
|
||||
add({ source = "nvim-lualine/lualine.nvim" })
|
||||
add({ source = "lewis6991/gitsigns.nvim" })
|
||||
add({ source = "folke/which-key.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" })
|
||||
|
||||
-- Autocompletion
|
||||
add({
|
||||
source = "Saghen/blink.cmp",
|
||||
depends = { "rafamadriz/friendly-snippets" },
|
||||
hooks = {
|
||||
post_install = function(ctx)
|
||||
vim.cmd("!cd " .. ctx.path .. " && cargo build --release")
|
||||
end,
|
||||
post_checkout = function(ctx)
|
||||
vim.cmd("!cd " .. ctx.path .. " && cargo build --release")
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
-- Treesitter
|
||||
add({
|
||||
source = "nvim-treesitter/nvim-treesitter",
|
||||
checkout = "master",
|
||||
monitor = "main",
|
||||
hooks = {
|
||||
post_checkout = function()
|
||||
vim.cmd("TSUpdate")
|
||||
end,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user