From 374b51da1aa3aa4fac8cc5e7c79a7ca3a6e4d73e Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Tue, 18 Jun 2024 20:52:52 -0400 Subject: [PATCH] cleanup: remove warning for deprecated "anchor" config option --- lua/dressing/config.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lua/dressing/config.lua b/lua/dressing/config.lua index 7ea00ff..4f8f92d 100644 --- a/lua/dressing/config.lua +++ b/lua/dressing/config.lua @@ -166,13 +166,6 @@ local M = vim.deepcopy(default_config) M.update = function(opts) local newconf = vim.tbl_deep_extend("force", default_config, opts or {}) - if newconf.input.anchor or newconf.select.builtin.anchor then - vim.notify( - "Deprecated: dressing no longer accepts an 'anchor' option. Use the 'override' function to change the anchor", - vim.log.levels.WARN - ) - end - for k, v in pairs(newconf) do M[k] = v end