feat: nvim config tracks the live tree
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.
This commit is contained in:
1 parent
9baaf78522
commit
0aaaf51421
28 files changed
+1001
-611
No files matched your search
@@ -0,0 +1,28 @@
|
||||
-- meow.yarn.nvim — interactive, expandable call/type hierarchy TREE (like VS Code's
|
||||
-- Call Hierarchy panel), built on native LSP + nui.nvim. Added 2026-10-23 for reading
|
||||
-- call chains in the TS code-walkthrough prep. Telescope's lsp_*_calls is flat/one-level;
|
||||
-- this one expands recursively, previews code, and lets you drill in / switch direction.
|
||||
--
|
||||
-- Keys (<leader>y = "yarn"): put the cursor on a function, then
|
||||
-- <leader>yc callers (who calls this) <leader>yC callees (what this calls)
|
||||
-- <leader>yt supertypes <leader>yT subtypes
|
||||
-- <leader>yl re-open last hierarchy
|
||||
-- In the tree: <CR> jump, o/za expand, zO/zC expand/collapse all, / filter, <BS> back.
|
||||
return {
|
||||
{
|
||||
"retran/meow.yarn.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim" },
|
||||
keys = {
|
||||
{ "<leader>y", "", desc = "+yarn (hierarchy)" },
|
||||
{ "<leader>yc", function() require("meow.yarn").open_tree("call_hierarchy", "callers") end, desc = "Yarn: callers (who calls this)" },
|
||||
{ "<leader>yC", function() require("meow.yarn").open_tree("call_hierarchy", "callees") end, desc = "Yarn: callees (what this calls)" },
|
||||
{ "<leader>yt", function() require("meow.yarn").open_tree("type_hierarchy", "supertypes") end, desc = "Yarn: supertypes" },
|
||||
{ "<leader>yT", function() require("meow.yarn").open_tree("type_hierarchy", "subtypes") end, desc = "Yarn: subtypes" },
|
||||
{ "<leader>yl", "<Plug>(MeowYarnLast)", desc = "Yarn: last hierarchy" },
|
||||
},
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("meow.yarn").setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user