Port the live ~/.config/nvim working tree (bcherb2/nvim master plus its uncommitted git.lua and minimap.lua edits): adds claudecode, eslint, lsp, typescript, meow-yarn and refactoring-fix specs, drops the files the live repo deleted, and takes live for everything else. Kept from public: lazy.lua with luarocks disabled, the ai_assist cond guard (nvim-ai-assist is not anonymously clonable, so a fresh box only gets it from the private clone list), and the scrubbed endpoint comment in place of live's LAN address.
57 lines
1.3 KiB
Lua
57 lines
1.3 KiB
Lua
-- VS Code-style minimap using neominimap.nvim
|
|
return {
|
|
{
|
|
"Isrothy/neominimap.nvim",
|
|
version = "v3.*.*",
|
|
lazy = false,
|
|
keys = {
|
|
{ "<leader>um", "<cmd>Neominimap Toggle<cr>", desc = "Toggle minimap" },
|
|
{ "<leader>uM", "<cmd>Neominimap Focus<cr>", desc = "Focus minimap" },
|
|
},
|
|
init = function()
|
|
vim.g.neominimap = {
|
|
auto_enable = true,
|
|
|
|
-- Higher resolution (lower = denser)
|
|
x_multiplier = 2,
|
|
y_multiplier = 1,
|
|
|
|
layout = "float",
|
|
float = {
|
|
minimap_width = 8,
|
|
window_border = "none",
|
|
},
|
|
|
|
-- Enable mouse clicks
|
|
click = {
|
|
enabled = true,
|
|
auto_switch_focus = true,
|
|
},
|
|
|
|
-- Annotations
|
|
diagnostic = {
|
|
enabled = true,
|
|
mode = "line", -- Highlight full line
|
|
},
|
|
-- Git changes come from gitsigns (see lua/plugins/git.lua).
|
|
git = {
|
|
enabled = true,
|
|
mode = "line", -- Full line highlight for git changes
|
|
},
|
|
mini_diff = {
|
|
enabled = false,
|
|
},
|
|
search = {
|
|
enabled = true,
|
|
mode = "line",
|
|
},
|
|
treesitter = {
|
|
enabled = true,
|
|
},
|
|
|
|
exclude_filetypes = { "help", "neo-tree", "lazy", "mason", "dashboard" },
|
|
}
|
|
end,
|
|
},
|
|
}
|