diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2020-12-09 21:46:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-09 15:46:41 -0500 |
| commit | 141dc6d55e4f53ee9527adc164a0d39725394bfd (patch) | |
| tree | 335457a78d554327a7c9e550118c84a7c283a059 /lua/telescope/_compat.lua | |
| parent | c276db06e2981416995450a4198cef4b87170f6f (diff) | |
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>
Diffstat (limited to 'lua/telescope/_compat.lua')
| -rw-r--r-- | lua/telescope/_compat.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lua/telescope/_compat.lua b/lua/telescope/_compat.lua index 3d280ef..6253074 100644 --- a/lua/telescope/_compat.lua +++ b/lua/telescope/_compat.lua @@ -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 |
