From 79644ab67731c7ba956c354bf0545282f34e10cc Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 23 Jul 2021 17:42:37 +0200 Subject: chore: use stylua for formatting (#1040) * chore: stylua job and config * reformat with stylua --- lua/telescope/_compat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/telescope/_compat.lua') 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)() -- cgit v1.2.3