Replace multiple plugins with mini.nvim
This commit is contained in:
parent
92511131d1
commit
c2e9b1ae51
7 changed files with 164 additions and 162 deletions
lua/crony
|
@ -14,41 +14,27 @@ vim.opt.rtp:prepend(lazypath)
|
|||
|
||||
-- plugins installation and configuration
|
||||
require("lazy").setup({
|
||||
-- Git plugins
|
||||
"tpope/vim-fugitive",
|
||||
-- LSP Support
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
{ "williamboman/mason.nvim" },
|
||||
{ "williamboman/mason-lspconfig.nvim" },
|
||||
|
||||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||
"lewis6991/gitsigns.nvim",
|
||||
|
||||
{
|
||||
"VonHeikemen/lsp-zero.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
-- LSP Support
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
{ "williamboman/mason.nvim" },
|
||||
{ "williamboman/mason-lspconfig.nvim" },
|
||||
|
||||
-- Autocompletion
|
||||
{ "hrsh7th/nvim-cmp" },
|
||||
{ "hrsh7th/cmp-buffer" },
|
||||
{ "hrsh7th/cmp-path" },
|
||||
{ "saadparwaiz1/cmp_luasnip" },
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
{ "hrsh7th/cmp-nvim-lua" },
|
||||
|
||||
-- Snippets
|
||||
{ "L3MON4D3/LuaSnip" },
|
||||
{ "rafamadriz/friendly-snippets" },
|
||||
|
||||
-- Additional neovim docs
|
||||
"folke/neodev.nvim",
|
||||
opts = {},
|
||||
"folke/neodev.nvim",
|
||||
opts = {
|
||||
override = function(rood_dir, library)
|
||||
-- Make sure neodev load's in directory where I'm making my own plugins
|
||||
if rood_dir:find(os.getenv("HOME") .. "/repos/neovim/plugins/", 1, true) == 1 then
|
||||
library.enabled = true
|
||||
library.plugins = true
|
||||
end
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||
"lewis6991/gitsigns.nvim",
|
||||
},
|
||||
|
||||
{
|
||||
-- Catppuccin, the best pastell color scheme
|
||||
"catppuccin/nvim",
|
||||
|
@ -56,9 +42,6 @@ require("lazy").setup({
|
|||
priority = 1000,
|
||||
},
|
||||
|
||||
-- "gc" to comment visual regions/lines
|
||||
{ "numToStr/Comment.nvim", opts = {}},
|
||||
|
||||
-- Fuzzy Finder (files, lsp, etc)
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
|
@ -99,14 +82,6 @@ require("lazy").setup({
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
-- nicer notification's
|
||||
"rcarriga/nvim-notify",
|
||||
config = function()
|
||||
vim.notify = require("notify")
|
||||
end,
|
||||
},
|
||||
|
||||
-- additional formater support
|
||||
"stevearc/conform.nvim",
|
||||
|
||||
|
@ -116,12 +91,11 @@ require("lazy").setup({
|
|||
-- mason autoinstaller for formatter's and linter's
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
|
||||
{
|
||||
-- vim teacher hard core
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
opts = {},
|
||||
},
|
||||
-- Trying out writting plugins
|
||||
{ dir = "~/repos/neovim/plugins/md-tools.nvim" },
|
||||
|
||||
-- Minimal neovim modules for a lot of things
|
||||
{ "echasnovski/mini.nvim" },
|
||||
}, {
|
||||
install = {
|
||||
colorscheme = { "catppuccin" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue