feat: migrate old config

This commit is contained in:
johannes committed 2026-11-12 23:55:14 +01:00
1 parent 1a2ce09da2
commit 706ef57d92
31 files changed
+911 -38

No files matched your search

+42
View File
@@ -32,6 +32,48 @@ return {
},
},
},
{
"folke/flash.nvim",
keys = {
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash jump" },
},
opts = {},
},
{
"Wansmer/treesj",
dependencies = { "nvim-treesitter/nvim-treesitter" },
keys = {
{ "<leader>j", function() require("treesj").toggle() end, desc = "Toggle block split/join" },
},
opts = { use_default_keymaps = false, max_join_length = 150 },
},
{
"nvim-treesitter/nvim-treesitter-context",
event = { "BufReadPost", "BufNewFile" },
opts = { max_lines = 2, multiline_threshold = 1, mode = "cursor", separator = "-" },
},
{
"nvim-mini/mini.hipatterns",
event = "VeryLazy",
config = function()
local hi = require("mini.hipatterns")
hi.setup({ highlighters = { hex_color = hi.gen_highlighter.hex_color() } })
end,
},
{
"nvim-mini/mini.indentscope",
event = "VeryLazy",
opts = { symbol = "|", options = { try_as_border = true } },
init = function()
vim.api.nvim_create_autocmd("FileType", {
group = vim.api.nvim_create_augroup("plugins.indentscope", { clear = true }),
pattern = { "help", "lazy", "snacks_picker_input", "snacks_picker_list", "oil" },
callback = function(ev)
vim.b[ev.buf].miniindentscope_disable = true
end,
})
end,
},
{
"nvim-mini/mini.pairs",
event = "InsertEnter",