From 33a9a82ae6cbbd45b0f245a5ebf2f3e1e7e5eb71 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 3 Feb 2026 20:50:56 -0500 Subject: [PATCH] fix: use vim.deprecate with v0.1.0 --- lua/http-codes.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/http-codes.lua b/lua/http-codes.lua index 2cb39d4..937cd58 100644 --- a/lua/http-codes.lua +++ b/lua/http-codes.lua @@ -70,10 +70,7 @@ M.http_codes = M.pick ---@deprecated Use `vim.g.http_codes` instead function M.setup(user_config) - vim.notify_once( - 'http-codes.nvim: setup() is deprecated. Use vim.g.http_codes instead.', - vim.log.levels.WARN - ) + vim.deprecate('require("http-codes").setup()', 'vim.g.http_codes', 'v0.1.0', 'http-codes.nvim') if user_config then vim.g.http_codes = vim.tbl_deep_extend('force', vim.g.http_codes or {}, user_config)