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.
22 lines
1.1 KiB
Lua
22 lines
1.1 KiB
Lua
-- Pin refactoring.nvim (LazyVim editor.refactoring extra) on Neovim < 0.12.5.
|
|
--
|
|
-- Since abdcad8 (2026-09-23) refactoring.nvim calls the core vim.pos(buf, row, col) and
|
|
-- vim.range(buf, start_row, start_col, end_row, end_col). Neovim only takes buf first from
|
|
-- 0.12.5 on (upstream README: "requires Neovim 0.12.5"); 0.12.0-0.12.4 expect
|
|
-- vim.range(start_row, start_col, end_row, end_col, { buf = buf }), so every refactor fails
|
|
-- with "vim/range.lua:98: attempt to index local 'opts' (a number value)".
|
|
-- 8bcf893 is the parent of abdcad8 and the last upstream commit that ships its own
|
|
-- refactoring.pos/refactoring.range with the buf-first API; the two commits after it on master
|
|
-- are CI/docs only. Pinning in the spec (not just lazy-lock.json) keeps :Lazy update from
|
|
-- moving it back to the broken commit.
|
|
--
|
|
-- Remove this file once Neovim is >= 0.12.5 (the guard below already stops pinning there),
|
|
-- then run :Lazy update refactoring.nvim.
|
|
if vim.fn.has("nvim-0.12.5") == 1 then
|
|
return {}
|
|
end
|
|
|
|
return {
|
|
{ "ThePrimeagen/refactoring.nvim", commit = "8bcf893eb3871bc87b42adffe2fb9b0b7dc9d328" },
|
|
}
|