mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
ci: Add luacheck ci job (#317)
* Add luacheck ci job * Fix most of the linting issues * fixup: lint Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
This commit is contained in:
co-authored by
TJ DeVries
parent
c276db06e2
commit
141dc6d55e
@@ -1,4 +1,3 @@
|
||||
|
||||
vim.deepcopy = (function()
|
||||
local function _id(v)
|
||||
return v
|
||||
@@ -55,17 +54,3 @@ vim.deepcopy = (function()
|
||||
end
|
||||
end
|
||||
end)()
|
||||
|
||||
|
||||
|
||||
table.clear = table.clear or function(t)
|
||||
for k in pairs (t) do
|
||||
t[k] = nil
|
||||
end
|
||||
end
|
||||
|
||||
table.pop = table.pop or function(t, k)
|
||||
local val = t[k]
|
||||
t[k] = nil
|
||||
return val
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user