mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2026-08-16 02:44:35 +00:00
chore: Deprecate unneeded utils, don't print enable/disable msg (#60)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
--- @deprecated
|
||||
local M = {}
|
||||
|
||||
--- @deprecated
|
||||
function M.set_of(list)
|
||||
local set = {}
|
||||
for i = 1, #list do
|
||||
@@ -8,6 +10,7 @@ function M.set_of(list)
|
||||
return set
|
||||
end
|
||||
|
||||
--- @deprecated
|
||||
function M.not_in(var, arr)
|
||||
if M.set_of(arr)[var] == nil then
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user