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:
@@ -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" },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user