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/actions/mt.lua | |
| parent | 664690029fdb302bee8d3f27a458383e8477add7 (diff) | |
chore: use stylua for formatting (#1040)
* chore: stylua job and config
* reformat with stylua
Diffstat (limited to 'lua/telescope/actions/mt.lua')
| -rw-r--r-- | lua/telescope/actions/mt.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lua/telescope/actions/mt.lua b/lua/telescope/actions/mt.lua index 7f233cf..adb3293 100644 --- a/lua/telescope/actions/mt.lua +++ b/lua/telescope/actions/mt.lua @@ -27,11 +27,7 @@ action_mt.create = function(mod) end local result = { - run_replace_or_original( - t._replacements[action_name], - mod[action_name], - ... - ) + run_replace_or_original(t._replacements[action_name], mod[action_name], ...), } for _, res in ipairs(result) do table.insert(values, res) @@ -128,7 +124,7 @@ action_mt.create = function(mod) end action_mt.transform = function(k, mt, mod, v) - local res = setmetatable({k}, mt) + local res = setmetatable({ k }, mt) if type(v) == "table" then res._static_pre[k] = v.pre res._static_post[k] = v.post |
