diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-07-23 17:42:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-23 11:42:37 -0400 |
| commit | 79644ab67731c7ba956c354bf0545282f34e10cc (patch) | |
| tree | e65dbf73b3442ab1aa9fc59fc56a35b4c9edf1e0 /lua/telescope/_compat.lua | |
| parent | 664690029fdb302bee8d3f27a458383e8477add7 (diff) | |
chore: use stylua for formatting (#1040)
* chore: stylua job and config
* reformat with stylua
Diffstat (limited to 'lua/telescope/_compat.lua')
| -rw-r--r-- | lua/telescope/_compat.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/telescope/_compat.lua b/lua/telescope/_compat.lua index 6253074..42a3dfd 100644 --- a/lua/telescope/_compat.lua +++ b/lua/telescope/_compat.lua @@ -21,7 +21,7 @@ vim.deepcopy = (function() return copy end, - ['function'] = _id or function(orig) + ["function"] = _id or function(orig) local ok, dumped = pcall(string.dump, orig) if not ok then error(debug.traceback(dumped)) @@ -41,7 +41,7 @@ vim.deepcopy = (function() end, number = _id, string = _id, - ['nil'] = _id, + ["nil"] = _id, boolean = _id, } @@ -50,7 +50,7 @@ vim.deepcopy = (function() if f then return f(orig) else - error("Cannot deepcopy object of type "..type(orig)) + error("Cannot deepcopy object of type " .. type(orig)) end end end)() |
