Agent-driven work shifted nvim from writing code to reading and reviewing it. Dropped: - supermaven-nvim: inline AI completion duplicates the agent - nvim-spectre: project-wide find/replace is now a prose request - tailwind-tools: authoring aid for markup not hand-written - editing.lua: hop.nvim plus ~85 lines of commented-out plugins (hardtime, ufo, local-highlight) - telescope.nvim: second picker; gd/gv/gr now use fzf-lua, which was already bound to lsp_references Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
59 lines
1.1 KiB
Lua
59 lines
1.1 KiB
Lua
local configs = require "configs.lspconfig"
|
|
|
|
vim.g.rustaceanvim = configs.rustacean
|
|
|
|
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
configs.defaults()
|
|
end,
|
|
},
|
|
|
|
{
|
|
"mrcjkb/rustaceanvim",
|
|
version = "^6",
|
|
lazy = false,
|
|
},
|
|
|
|
{
|
|
"pmizio/typescript-tools.nvim",
|
|
ft = { "typescript", "typescriptreact" },
|
|
dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" },
|
|
config = function()
|
|
require("typescript-tools").setup(configs.typescript)
|
|
end,
|
|
},
|
|
|
|
-- lazy.nvim
|
|
{
|
|
"chrisgrieser/nvim-lsp-endhints",
|
|
event = "LspAttach",
|
|
opts = {}, -- required, even if empty
|
|
},
|
|
|
|
{
|
|
"aznhe21/actions-preview.nvim",
|
|
dependencies = { "MunifTanjim/nui.nvim" },
|
|
config = function()
|
|
local hl = require "actions-preview.highlight"
|
|
require("actions-preview").setup {
|
|
backend = { "nui" },
|
|
highlight_command = { hl.delta() },
|
|
|
|
nui = {
|
|
keymap = { "q", "<C-c>" },
|
|
},
|
|
}
|
|
end,
|
|
keys = {
|
|
{
|
|
"ga",
|
|
function()
|
|
require("actions-preview").code_actions()
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
}
|