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,36 @@
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = function(_, opts)
|
||||
-- LazyVim maps gD unconditionally; tsgo has no textDocument/declaration.
|
||||
-- Gate it so servers without it keep Vim's built-in gD.
|
||||
table.insert(opts.servers["*"].keys, {
|
||||
"gD",
|
||||
vim.lsp.buf.declaration,
|
||||
desc = "Goto Declaration",
|
||||
has = "declaration",
|
||||
})
|
||||
-- Call hierarchy: the tool for understanding a call chain without editing.
|
||||
-- <leader>ci = who calls this (incoming); <leader>co = what this calls (outgoing).
|
||||
-- Uses Telescope's picker when present. Gated on callHierarchy support. Added 2026-10-23.
|
||||
table.insert(opts.servers["*"].keys, {
|
||||
"<leader>ci",
|
||||
function()
|
||||
local ok, tb = pcall(require, "telescope.builtin")
|
||||
if ok then tb.lsp_incoming_calls() else vim.lsp.buf.incoming_calls() end
|
||||
end,
|
||||
desc = "Incoming Calls (callers)",
|
||||
has = "callHierarchy",
|
||||
})
|
||||
table.insert(opts.servers["*"].keys, {
|
||||
"<leader>co",
|
||||
function()
|
||||
local ok, tb = pcall(require, "telescope.builtin")
|
||||
if ok then tb.lsp_outgoing_calls() else vim.lsp.buf.outgoing_calls() end
|
||||
end,
|
||||
desc = "Outgoing Calls (callees)",
|
||||
has = "callHierarchy",
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user