chore(plugins): purge typing-era tooling
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>
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
"fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" },
|
"fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" },
|
||||||
"git-conflict.nvim": { "branch": "main", "commit": "a1badcd070d176172940eb55d9d59029dad1c5a6" },
|
"git-conflict.nvim": { "branch": "main", "commit": "a1badcd070d176172940eb55d9d59029dad1c5a6" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" },
|
"gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" },
|
||||||
"hop.nvim": { "branch": "master", "commit": "08ddca799089ab96a6d1763db0b8adc5320bf050" },
|
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
"lspkind.nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
||||||
@@ -30,7 +29,6 @@
|
|||||||
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
||||||
"nvim-lsp-endhints": { "branch": "main", "commit": "a86e7ca7a92ef003008d7eb5d153c63bcc89f79c" },
|
"nvim-lsp-endhints": { "branch": "main", "commit": "a86e7ca7a92ef003008d7eb5d153c63bcc89f79c" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "a683e0ddf0cf64c6cd689e18ffb480ade3c162b7" },
|
"nvim-lspconfig": { "branch": "master", "commit": "a683e0ddf0cf64c6cd689e18ffb480ade3c162b7" },
|
||||||
"nvim-spectre": { "branch": "master", "commit": "72f56f7585903cd7bf92c665351aa585e150af0f" },
|
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "3fb91e18a727ecc0385637895ec397dea90be42a" },
|
"nvim-tree.lua": { "branch": "master", "commit": "3fb91e18a727ecc0385637895ec397dea90be42a" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
|
"nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
|
||||||
@@ -40,9 +38,6 @@
|
|||||||
"ron.vim": { "branch": "master", "commit": "f749e543975a82e8dd9a6e7df9600a1c098ae800" },
|
"ron.vim": { "branch": "master", "commit": "f749e543975a82e8dd9a6e7df9600a1c098ae800" },
|
||||||
"rustaceanvim": { "branch": "main", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" },
|
"rustaceanvim": { "branch": "main", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" },
|
||||||
"statuscol.nvim": { "branch": "main", "commit": "c46172d0911aa5d49ba5f39f4351d1bb7aa289cc" },
|
"statuscol.nvim": { "branch": "main", "commit": "c46172d0911aa5d49ba5f39f4351d1bb7aa289cc" },
|
||||||
"supermaven-nvim": { "branch": "main", "commit": "07d20fce48a5629686aefb0a7cd4b25e33947d50" },
|
|
||||||
"tailwind-tools": { "branch": "master", "commit": "fbe982901d4508b0dcd80e07addf0fcb6dab6c49" },
|
|
||||||
"telescope.nvim": { "branch": "master", "commit": "7d324792b7943e4aa16ad007212e6acc6f9fe335" },
|
|
||||||
"tint.nvim": { "branch": "master", "commit": "586e87f00c8b0f5e857cefe10839e41f3e8c6d01" },
|
"tint.nvim": { "branch": "master", "commit": "586e87f00c8b0f5e857cefe10839e41f3e8c6d01" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ local lspkind = require "lspkind"
|
|||||||
local nvchad_options = require "nvchad.configs.cmp"
|
local nvchad_options = require "nvchad.configs.cmp"
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
-- Supermaven handles AI completion inline (ghost text, accept with <C-Enter>);
|
|
||||||
-- it is not a cmp source, so it is intentionally absent here.
|
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
|
|||||||
@@ -84,13 +84,13 @@ M.on_attach = function(client, bufnr)
|
|||||||
map("n", "<leader>rn", vim.lsp.buf.rename, opts "Rename")
|
map("n", "<leader>rn", vim.lsp.buf.rename, opts "Rename")
|
||||||
|
|
||||||
map("n", "gd", function()
|
map("n", "gd", function()
|
||||||
require("telescope.builtin").lsp_definitions()
|
require("fzf-lua").lsp_definitions()
|
||||||
end, opts "LSP Definitions")
|
end, opts "LSP Definitions")
|
||||||
map("n", "gv", function()
|
map("n", "gv", function()
|
||||||
require("telescope.builtin").lsp_definitions { jump_type = "vsplit" }
|
require("fzf-lua").lsp_definitions { jump1_action = require("fzf-lua").actions.file_vsplit }
|
||||||
end, opts "LSP Definitions (vertical split)")
|
end, opts "LSP Definitions (vertical split)")
|
||||||
map("n", "gr", function()
|
map("n", "gr", function()
|
||||||
require("telescope.builtin").lsp_references()
|
require("fzf-lua").lsp_references()
|
||||||
end, opts "LSP References")
|
end, opts "LSP References")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -6,39 +6,5 @@ return {
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"supermaven-inc/supermaven-nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
config = function()
|
|
||||||
require("supermaven-nvim").setup {
|
|
||||||
keymaps = {
|
|
||||||
accept_suggestion = "<C-Enter>",
|
|
||||||
},
|
|
||||||
-- disable_inline_completion = true,
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
{ "onsails/lspkind.nvim", event = "VeryLazy" },
|
{ "onsails/lspkind.nvim", event = "VeryLazy" },
|
||||||
|
|
||||||
-- {
|
|
||||||
-- "zbirenbaum/copilot.lua",
|
|
||||||
-- cmd = "Copilot",
|
|
||||||
-- event = "VeryLazy",
|
|
||||||
-- config = function()
|
|
||||||
-- require("copilot").setup({
|
|
||||||
-- suggestion = { enabled = false },
|
|
||||||
-- panel = { enabled = false },
|
|
||||||
-- })
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
--
|
|
||||||
-- {
|
|
||||||
-- "zbirenbaum/copilot-cmp",
|
|
||||||
-- event = "VeryLazy",
|
|
||||||
-- dependencies = { "hrsh7th/cmp-nvim-lsp" },
|
|
||||||
-- config = function()
|
|
||||||
-- require("copilot_cmp").setup()
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,98 +0,0 @@
|
|||||||
return {
|
|
||||||
-- {
|
|
||||||
-- "m4xshen/hardtime.nvim",
|
|
||||||
-- lazy = false,
|
|
||||||
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
|
||||||
-- opts = {
|
|
||||||
-- disable_mouse = false,
|
|
||||||
-- restricted_keys = {
|
|
||||||
-- ["w"] = { "n", "x" },
|
|
||||||
-- ["W"] = { "n", "x" },
|
|
||||||
-- ["b"] = { "n", "x" },
|
|
||||||
-- ["B"] = { "n", "x" },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
|
|
||||||
{
|
|
||||||
"smoka7/hop.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
version = "*",
|
|
||||||
opts = {
|
|
||||||
keys = "etovxqpdygfblzhckisuran",
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"ff",
|
|
||||||
function()
|
|
||||||
local dir = require("hop.hint").HintDirection
|
|
||||||
require("hop").hint_char1 { direction = dir.AFTER_CURSOR }
|
|
||||||
end,
|
|
||||||
desc = "go to char (forward)",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"FF",
|
|
||||||
function()
|
|
||||||
local dir = require("hop.hint").HintDirection
|
|
||||||
require("hop").hint_char1 { direction = dir.BEFORE_CURSOR }
|
|
||||||
end,
|
|
||||||
desc = "go to char (backward)",
|
|
||||||
},
|
|
||||||
{ "2ff", "<cmd>HopChar2<cr>", desc = "go to bigram" },
|
|
||||||
{ "<leader>fl", "<cmd>HopLineStart<cr>" },
|
|
||||||
{ "<leader>fp", "<cmd>HopPattern<cr>" },
|
|
||||||
{ "<leader>fw", "<cmd>HopWord<cr>" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
-- {
|
|
||||||
-- "kevinhwang91/nvim-ufo",
|
|
||||||
-- dependencies = { "kevinhwang91/promise-async" },
|
|
||||||
-- lazy = false,
|
|
||||||
-- config = function()
|
|
||||||
-- vim.o.foldcolumn = "1" -- '0' is not bad
|
|
||||||
-- vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
|
||||||
-- vim.o.foldlevelstart = 99
|
|
||||||
-- vim.o.foldenable = true
|
|
||||||
--
|
|
||||||
-- local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
||||||
-- capabilities.textDocument.foldingRange = {
|
|
||||||
-- dynamicRegistration = false,
|
|
||||||
-- lineFoldingOnly = true,
|
|
||||||
-- }
|
|
||||||
-- local language_servers = vim.lsp.get_clients() -- or list servers manually like {'gopls', 'clangd'}
|
|
||||||
-- for _, ls in ipairs(language_servers) do
|
|
||||||
-- require("lspconfig")[ls].setup {
|
|
||||||
-- capabilities = capabilities,
|
|
||||||
-- -- you can add other fields for setting up lsp server in this table
|
|
||||||
-- }
|
|
||||||
-- end
|
|
||||||
-- require("ufo").setup()
|
|
||||||
-- end,
|
|
||||||
--
|
|
||||||
-- keys = {
|
|
||||||
-- {
|
|
||||||
-- "zR",
|
|
||||||
-- function()
|
|
||||||
-- require("ufo").openAllFolds()
|
|
||||||
-- end,
|
|
||||||
-- desc = "Open all folds",
|
|
||||||
-- },
|
|
||||||
-- {
|
|
||||||
-- "zM",
|
|
||||||
-- function()
|
|
||||||
-- require("ufo").closeAllFolds()
|
|
||||||
-- end,
|
|
||||||
-- desc = "Close all folds",
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
|
|
||||||
-- {
|
|
||||||
-- "tzachar/local-highlight.nvim",
|
|
||||||
-- event = "VeryLazy",
|
|
||||||
-- config = function()
|
|
||||||
-- require("local-highlight").setup()
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
"windwp/nvim-spectre",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
-- stylua: ignore
|
|
||||||
keys = {
|
|
||||||
{ "<leader>S", function() require("spectre").open() end, desc = "Replace in files (Spectre)", },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
+1
-5
@@ -5,11 +5,7 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim", -- required
|
"nvim-lua/plenary.nvim", -- required
|
||||||
"sindrets/diffview.nvim", -- optional - Diff integration
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||||
|
"ibhagwan/fzf-lua", -- optional - picker
|
||||||
-- Only one of these is needed.
|
|
||||||
"nvim-telescope/telescope.nvim", -- optional
|
|
||||||
"ibhagwan/fzf-lua", -- optional
|
|
||||||
-- "echasnovski/mini.pick", -- optional
|
|
||||||
},
|
},
|
||||||
config = true,
|
config = true,
|
||||||
keys = {
|
keys = {
|
||||||
|
|||||||
@@ -55,17 +55,4 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"luckasRanarison/tailwind-tools.nvim",
|
|
||||||
name = "tailwind-tools",
|
|
||||||
ft = { "html", "css", "scss", "javascriptreact", "typescriptreact", "vue", "svelte", "astro" },
|
|
||||||
build = ":UpdateRemotePlugins",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
"nvim-telescope/telescope.nvim", -- optional
|
|
||||||
"neovim/nvim-lspconfig", -- optional
|
|
||||||
},
|
|
||||||
opts = {}, -- your configuration
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user