mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
refactor: update mini plugin references from echasnovski to nvim-mini
Updates all mini.nvim plugin references to use the new nvim-mini organization namespace instead of the legacy echasnovski namespace across all LazyVim configuration files.
This commit is contained in:
parent
25abbf546d
commit
9a6aafbfd7
20 changed files with 24 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
return {
|
return {
|
||||||
-- auto pairs
|
-- auto pairs
|
||||||
{
|
{
|
||||||
"echasnovski/mini.pairs",
|
"nvim-mini/mini.pairs",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {
|
opts = {
|
||||||
modes = { insert = true, command = true, terminal = false },
|
modes = { insert = true, command = true, terminal = false },
|
||||||
|
|
@ -29,7 +29,7 @@ return {
|
||||||
|
|
||||||
-- Better text-objects
|
-- Better text-objects
|
||||||
{
|
{
|
||||||
"echasnovski/mini.ai",
|
"nvim-mini/mini.ai",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = function()
|
opts = function()
|
||||||
local ai = require("mini.ai")
|
local ai = require("mini.ai")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"echasnovski/mini.comment",
|
"nvim-mini/mini.comment",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@ if lazyvim_docs then
|
||||||
vim.g.lazyvim_mini_snippets_in_completion = true
|
vim.g.lazyvim_mini_snippets_in_completion = true
|
||||||
|
|
||||||
-- NOTE: Please also read:
|
-- NOTE: Please also read:
|
||||||
-- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-snippets.md#expand
|
-- https://github.com/nvim-mini/mini.nvim/blob/main/readmes/mini-snippets.md#expand
|
||||||
-- :h MiniSnippets-session
|
-- :h MiniSnippets-session
|
||||||
|
|
||||||
-- Example override for your own config:
|
-- Example override for your own config:
|
||||||
--[[
|
--[[
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"echasnovski/mini.snippets",
|
"nvim-mini/mini.snippets",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- By default, for opts.snippets, the extra for mini.snippets only adds gen_loader.from_lang()
|
-- By default, for opts.snippets, the extra for mini.snippets only adds gen_loader.from_lang()
|
||||||
-- This provides a sensible quickstart, integrating with friendly-snippets
|
-- This provides a sensible quickstart, integrating with friendly-snippets
|
||||||
|
|
@ -63,7 +63,7 @@ return {
|
||||||
-- add mini.snippets
|
-- add mini.snippets
|
||||||
desc = "Manage and expand snippets (alternative to Luasnip)",
|
desc = "Manage and expand snippets (alternative to Luasnip)",
|
||||||
{
|
{
|
||||||
"echasnovski/mini.snippets",
|
"nvim-mini/mini.snippets",
|
||||||
event = "InsertEnter", -- don't depend on other plugins to load...
|
event = "InsertEnter", -- don't depend on other plugins to load...
|
||||||
dependencies = "rafamadriz/friendly-snippets",
|
dependencies = "rafamadriz/friendly-snippets",
|
||||||
opts = function()
|
opts = function()
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
-- to select the text inside, change or modify the surrounding characters,
|
-- to select the text inside, change or modify the surrounding characters,
|
||||||
-- and more.
|
-- and more.
|
||||||
return {
|
return {
|
||||||
"echasnovski/mini.surround",
|
"nvim-mini/mini.surround",
|
||||||
keys = function(_, keys)
|
keys = function(_, keys)
|
||||||
-- Populate the keys based on the user's options
|
-- Populate the keys based on the user's options
|
||||||
local opts = LazyVim.opts("mini.surround")
|
local opts = LazyVim.opts("mini.surround")
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ return {
|
||||||
|
|
||||||
-- rename surround mappings from gs to gz to prevent conflict with leap
|
-- rename surround mappings from gs to gz to prevent conflict with leap
|
||||||
{
|
{
|
||||||
"echasnovski/mini.surround",
|
"nvim-mini/mini.surround",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
mappings = {
|
mappings = {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ return {
|
||||||
|
|
||||||
-- setup mini.diff
|
-- setup mini.diff
|
||||||
{
|
{
|
||||||
"echasnovski/mini.diff",
|
"nvim-mini/mini.diff",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
return {
|
return {
|
||||||
"echasnovski/mini.files",
|
"nvim-mini/mini.files",
|
||||||
opts = {
|
opts = {
|
||||||
windows = {
|
windows = {
|
||||||
preview = true,
|
preview = true,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"echasnovski/mini.move",
|
"nvim-mini/mini.move",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"echasnovski/mini.starter",
|
"nvim-mini/mini.starter",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local items = {
|
local items = {
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ return {
|
||||||
|
|
||||||
-- Filetype icons
|
-- Filetype icons
|
||||||
{
|
{
|
||||||
"echasnovski/mini.icons",
|
"nvim-mini/mini.icons",
|
||||||
opts = {
|
opts = {
|
||||||
file = {
|
file = {
|
||||||
[".go-version"] = { glyph = "", hl = "MiniIconsBlue" },
|
[".go-version"] = { glyph = "", hl = "MiniIconsBlue" },
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ return {
|
||||||
|
|
||||||
-- Filetype icons
|
-- Filetype icons
|
||||||
{
|
{
|
||||||
"echasnovski/mini.icons",
|
"nvim-mini/mini.icons",
|
||||||
opts = {
|
opts = {
|
||||||
file = {
|
file = {
|
||||||
[".eslintrc.js"] = { glyph = "", hl = "MiniIconsYellow" },
|
[".eslintrc.js"] = { glyph = "", hl = "MiniIconsYellow" },
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ return {
|
||||||
|
|
||||||
-- setup animate
|
-- setup animate
|
||||||
{
|
{
|
||||||
"echasnovski/mini.animate",
|
"nvim-mini/mini.animate",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
cond = vim.g.neovide == nil,
|
cond = vim.g.neovide == nil,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ return {
|
||||||
-- code, this highlights the current level of indentation, and animates
|
-- code, this highlights the current level of indentation, and animates
|
||||||
-- the highlighting.
|
-- the highlighting.
|
||||||
{
|
{
|
||||||
"echasnovski/mini.indentscope",
|
"nvim-mini/mini.indentscope",
|
||||||
version = false, -- wait till new 0.7.0 release to put it back on semver
|
version = false, -- wait till new 0.7.0 release to put it back on semver
|
||||||
event = "LazyFile",
|
event = "LazyFile",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ return {
|
||||||
|
|
||||||
-- enable mini.starter
|
-- enable mini.starter
|
||||||
{
|
{
|
||||||
"echasnovski/mini.starter",
|
"nvim-mini/mini.starter",
|
||||||
version = false, -- wait till new 0.7.0 release to put it back on semver
|
version = false, -- wait till new 0.7.0 release to put it back on semver
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
opts = function()
|
opts = function()
|
||||||
|
|
@ -67,7 +67,7 @@ return {
|
||||||
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
||||||
local pad_footer = string.rep(" ", 8)
|
local pad_footer = string.rep(" ", 8)
|
||||||
starter.config.footer = pad_footer .. "⚡ Neovim loaded " .. stats.count .. " plugins in " .. ms .. "ms"
|
starter.config.footer = pad_footer .. "⚡ Neovim loaded " .. stats.count .. " plugins in " .. ms .. "ms"
|
||||||
-- INFO: based on @echasnovski's recommendation (thanks a lot!!!)
|
-- INFO: based on @nvim-mini's recommendation (thanks a lot!!!)
|
||||||
if vim.bo[ev.buf].filetype == "ministarter" then
|
if vim.bo[ev.buf].filetype == "ministarter" then
|
||||||
pcall(starter.refresh)
|
pcall(starter.refresh)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ return {
|
||||||
specs = {
|
specs = {
|
||||||
-- disable mini.animate cursor
|
-- disable mini.animate cursor
|
||||||
{
|
{
|
||||||
"echasnovski/mini.animate",
|
"nvim-mini/mini.animate",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
cursor = { enable = false },
|
cursor = { enable = false },
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ return {
|
||||||
|
|
||||||
-- Filetype icons
|
-- Filetype icons
|
||||||
{
|
{
|
||||||
"echasnovski/mini.icons",
|
"nvim-mini/mini.icons",
|
||||||
opts = {
|
opts = {
|
||||||
file = {
|
file = {
|
||||||
[".chezmoiignore"] = { glyph = "", hl = "MiniIconsGrey" },
|
[".chezmoiignore"] = { glyph = "", hl = "MiniIconsGrey" },
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ local M = {}
|
||||||
M.hl = {}
|
M.hl = {}
|
||||||
|
|
||||||
M.plugin = {
|
M.plugin = {
|
||||||
"echasnovski/mini.hipatterns",
|
"nvim-mini/mini.hipatterns",
|
||||||
recommended = true,
|
recommended = true,
|
||||||
desc = "Highlight colors in your code. Also includes Tailwind CSS support.",
|
desc = "Highlight colors in your code. Also includes Tailwind CSS support.",
|
||||||
event = "LazyFile",
|
event = "LazyFile",
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ return {
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"echasnovski/mini.starter",
|
"nvim-mini/mini.starter",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local items = {
|
local items = {
|
||||||
|
|
|
||||||
|
|
@ -245,7 +245,7 @@ return {
|
||||||
|
|
||||||
-- icons
|
-- icons
|
||||||
{
|
{
|
||||||
"echasnovski/mini.icons",
|
"nvim-mini/mini.icons",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
opts = {
|
opts = {
|
||||||
file = {
|
file = {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,6 @@ require("lazy.minit").setup({
|
||||||
{ "nvim-treesitter/nvim-treesitter" },
|
{ "nvim-treesitter/nvim-treesitter" },
|
||||||
{ "mason-org/mason-lspconfig.nvim", version = "^1.0.0" },
|
{ "mason-org/mason-lspconfig.nvim", version = "^1.0.0" },
|
||||||
{ "mason-org/mason.nvim", version = "^1.0.0" },
|
{ "mason-org/mason.nvim", version = "^1.0.0" },
|
||||||
{ "echasnovski/mini.icons", opts = {} },
|
{ "nvim-mini/mini.icons", opts = {} },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue