Drop opencode and supermaven, fix prettier, move path-copy keymaps

- Remove the opencode.nvim and supermaven-nvim plugin specs.
- formatting.lua: stop hardcoding prettier's path. It pointed at
  mise/installs/node/22.20.0, which no longer exists (now 24.19.0), so
  conform silently failed to format. Dropping `command` lets conform
  inherit its built-in definition and resolve prettier on PATH, which
  mason.nvim populates.
- keymaps.lua: move the file-path copy maps from <leader>cy/cY to
  <leader>yp/yP.
- Pick up Omarchy Quattro's remote_clipboard.lua and the news-alert
  suppression, plus the lazy-lock/lazyvim.json churn from the upgrade.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-15 16:05:34 +01:00
co-authored by Claude Opus 5
parent 5c6a1f8a14
commit e67ac43682
10 changed files with 151 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
return {
"LazyVim/LazyVim",
opts = {
news = {
lazyvim = false,
neovim = false,
},
},
}
+13 -1
View File
@@ -4,7 +4,19 @@ return {
opts = {
formatters = {
prettier = {
command = "/home/pastilhas/.local/share/mise/installs/node/22.20.0/bin/prettier",
-- No `command` here on purpose. conform inherits it from its built-in
-- prettier definition, which resolves the name on PATH — and mason.nvim
-- puts ~/.local/share/nvim/mason/bin on Neovim's PATH, so the copy
-- listed in `ensure_installed` below is found automatically.
--
-- This used to hardcode a mise node path
-- (.../mise/installs/node/22.20.0/bin/prettier). That node version has
-- since been replaced by 24.19.0, so the path no longer existed and
-- prettier formatting was silently doing nothing.
--
-- `args` is set rather than appended, so it replaces conform's default
-- argument list. --no-config keeps formatting consistent regardless of
-- any .prettierrc in the project.
args = { "--no-config", "--stdin-filepath", "$FILENAME" },
},
},
+1 -1
View File
@@ -4,7 +4,7 @@ return {
"neovim/nvim-lspconfig",
opts = {
inlay_hints = {
enabled = true,
enabled = false,
exclude = { "vue" },
},
},
-48
View File
@@ -1,48 +0,0 @@
return {
"NickvanDyke/opencode.nvim",
dependencies = {
-- Recommended for `ask()` and `select()`.
-- Required for `toggle()`.
{ "folke/snacks.nvim", opts = { input = {}, picker = {} } },
},
config = function()
vim.g.opencode_opts = {
-- Your configuration, if any — see `lua/opencode/config.lua`
}
-- Required for `vim.g.opencode_opts.auto_reload`
vim.opt.autoread = true
-- Recommended/example keymaps
vim.keymap.set({ "n", "x" }, "<leader>oa", function()
require("opencode").ask("@this: ", { submit = true })
end, { desc = "Ask about this" })
vim.keymap.set({ "n", "x" }, "<leader>os", function()
require("opencode").select()
end, { desc = "Select prompt" })
vim.keymap.set({ "n", "x" }, "<leader>o+", function()
require("opencode").prompt("@this")
end, { desc = "Add this" })
vim.keymap.set("n", "<leader>ot", function()
require("opencode").toggle()
end, { desc = "Toggle embedded" })
vim.keymap.set("n", "<leader>oc", function()
require("opencode").command()
end, { desc = "Select command" })
vim.keymap.set("n", "<leader>on", function()
require("opencode").command("session_new")
end, { desc = "New session" })
vim.keymap.set("n", "<leader>oi", function()
require("opencode").command("session_interrupt")
end, { desc = "Interrupt session" })
vim.keymap.set("n", "<leader>oA", function()
require("opencode").command("agent_cycle")
end, { desc = "Cycle selected agent" })
vim.keymap.set("n", "<S-C-u>", function()
require("opencode").command("messages_half_page_up")
end, { desc = "Messages half page up" })
vim.keymap.set("n", "<S-C-d>", function()
require("opencode").command("messages_half_page_down")
end, { desc = "Messages half page down" })
end,
}