update and remove lsp inlay deprecated plugin

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-04-01 16:03:30 -05:00
parent 030882309d
commit 7fdfc21a4d
6 changed files with 23 additions and 121 deletions

View file

@ -32,28 +32,6 @@ return {
event = "BufEnter",
dependencies = {
{ "hrsh7th/nvim-cmp" },
{
"lvimuser/lsp-inlayhints.nvim",
init = function()
vim.api.nvim_create_augroup("LspAttach_inlayhints", { clear = true })
vim.api.nvim_create_autocmd("LspAttach", {
group = "LspAttach_inlayhints",
callback = function(args)
if not (args.data and args.data.client_id) then
return
end
local bufnr = args.buf
local client = vim.lsp.get_client_by_id(args.data.client_id)
require("lsp-inlayhints").on_attach(client, bufnr)
end,
})
end,
opts = {
type_hints = { prefix = " ::" },
},
main = "lsp-inlayhints",
},
{ "b0o/schemastore.nvim" },
-- Automatically install LSPs and related tools to stdpath for Neovim
{ "williamboman/mason.nvim", enabled = not NIX, config = true }, -- NOTE: Must be loaded before dependants