update some plugins

This commit is contained in:
wooshdude
2026-03-27 21:25:52 -07:00
parent e7f2f962cf
commit d920bb97c9
3 changed files with 80 additions and 22 deletions
+1 -2
View File
@@ -15,8 +15,8 @@ require("lazy").setup({
{ import = "plugins.yazi" }, { import = "plugins.yazi" },
{ import = "plugins.tmux_navigator" }, { import = "plugins.tmux_navigator" },
{ import = "plugins.lualine" }, { import = "plugins.lualine" },
{ import = "plugins.autopairs" },
{ import = "plugins.which-key" }, { import = "plugins.which-key" },
{ import = "plugins.mini" },
{ import = "plugins.telescope" }, { import = "plugins.telescope" },
{ import = "plugins.omnisharp" }, { import = "plugins.omnisharp" },
{ import = "plugins.lazydev" }, { import = "plugins.lazydev" },
@@ -26,5 +26,4 @@ require("lazy").setup({
{ import = "plugins.barbar" }, { import = "plugins.barbar" },
{ "tpope/vim-sleuth" }, { "tpope/vim-sleuth" },
{ "sitiom/nvim-numbertoggle" }, { "sitiom/nvim-numbertoggle" },
{ "Bilal2453/luvit-meta" },
}) })
@@ -0,0 +1,59 @@
return {
"saghen/blink.pairs",
version = "*", -- (recommended) only required with prebuilt binaries
-- download prebuilt binaries from github releases
dependencies = "saghen/blink.download",
-- OR build from source, requires nightly:
-- https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
-- build = 'cargo build --release',
-- If you use nix, you can build from source using latest nightly rust with:
-- build = 'nix run .#build-plugin',
--- @module 'blink.pairs'
--- @type blink.pairs.Config
opts = {
mappings = {
-- you can call require("blink.pairs.mappings").enable()
-- and require("blink.pairs.mappings").disable()
-- to enable/disable mappings at runtime
enabled = true,
cmdline = true,
-- or disable with `vim.g.pairs = false` (global) and `vim.b.pairs = false` (per-buffer)
-- and/or with `vim.g.blink_pairs = false` and `vim.b.blink_pairs = false`
disabled_filetypes = {},
wrap = {
-- move closing pair via motion
["<C-b>"] = "motion",
-- move opening pair via motion
["<C-S-b>"] = "motion_reverse",
-- set to 'treesitter' or 'treesitter_reverse' to use treesitter instead of motions
-- set to nil, '' or false to disable the mapping
-- normal_mode = {} <- for normal mode mappings, only supports 'motion' and 'motion_reverse'
},
-- see the defaults:
-- https://github.com/Saghen/blink.pairs/blob/main/lua/blink/pairs/config/mappings.lua#L52
pairs = {},
},
highlights = {
enabled = true,
-- requires require('vim._extui').enable({}), otherwise has no effect
cmdline = true,
-- set to { 'BlinkPairs' } to disable rainbow highlighting
groups = { "BlinkPairsOrange", "BlinkPairsPurple", "BlinkPairsBlue" },
unmatched_group = "BlinkPairsUnmatched",
-- highlights matching pairs under the cursor
matchparen = {
enabled = true,
-- known issue where typing won't update matchparen highlight, disabled by default
cmdline = false,
-- also include pairs not on top of the cursor, but surrounding the cursor
include_surrounding = false,
group = "BlinkPairsMatchParen",
priority = 250,
},
},
debug = false,
},
}
+20 -20
View File
@@ -1,24 +1,24 @@
return { return {
{ -- Collection of various small independent plugins/modules { -- Collection of various small independent plugins/modules
"echasnovski/mini.nvim", "nvim-mini/mini.nvim",
config = function() config = function()
-- Better Around/Inside textobjects -- Better Around/Inside textobjects
-- --
-- Examples: -- Examples:
-- - va) - [V]isually select [A]round [)]paren -- - va) - [V]isually select [A]round [)]paren
-- - yinq - [Y]ank [I]nside [N]ext [Q]uote -- - yinq - [Y]ank [I]nside [N]ext [Q]uote
-- - ci' - [C]hange [I]nside [']quote -- - ci' - [C]hange [I]nside [']quote
require("mini.ai").setup({ n_lines = 500 }) require("mini.ai").setup({ n_lines = 500 })
-- Add/delete/replace surroundings (brackets, quotes, etc.) -- Add/delete/replace surroundings (brackets, quotes, etc.)
-- --
-- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren -- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren
-- - sd' - [S]urround [D]elete [']quotes -- - sd' - [S]urround [D]elete [']quotes
-- - sr)' - [S]urround [R]eplace [)] ['] -- - sr)' - [S]urround [R]eplace [)] [']
require("mini.surround").setup() require("mini.surround").setup()
require("mini.pairs").setup()
-- ... and there is more! --require("mini.animate").setup()
-- Check out: https://github.com/echasnovski/mini.nvim end,
end, },
},
} }