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
@@ -2,7 +2,7 @@
|
||||
-- * drop the `buffer` (next-word) source everywhere
|
||||
-- * markdown/md-render buffers use LSP+path only (no snippet callout noise)
|
||||
-- * disable friendly-snippets' global snippets (datetime/dateMDY/lorem/...)
|
||||
-- Inline AI suggestions are handled by minuet instead (see minuet.lua).
|
||||
-- Inline LLM ghost-text (minuet-ai.nvim) was removed; blink is the only completion source.
|
||||
return {
|
||||
"saghen/blink.cmp",
|
||||
opts = function(_, opts)
|
||||
@@ -28,5 +28,27 @@ return {
|
||||
opts.sources.providers.snippets = opts.sources.providers.snippets or {}
|
||||
opts.sources.providers.snippets.opts = opts.sources.providers.snippets.opts or {}
|
||||
opts.sources.providers.snippets.opts.global_snippets = {}
|
||||
|
||||
-- Global on/off switch for completion (<leader>uk below). While it's on,
|
||||
-- blink's own `enabled` check still applies.
|
||||
local prev = opts.enabled
|
||||
opts.enabled = function()
|
||||
if vim.g.thembones_completion == false then return false end
|
||||
if type(prev) == "function" then return prev() end
|
||||
return true
|
||||
end
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>uk",
|
||||
function()
|
||||
vim.g.thembones_completion = vim.g.thembones_completion == false
|
||||
if not vim.g.thembones_completion then
|
||||
pcall(function() require("blink.cmp").hide() end)
|
||||
end
|
||||
vim.notify("Completion " .. (vim.g.thembones_completion and "on" or "off"))
|
||||
end,
|
||||
desc = "Toggle Completion (global)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user