chore: reformat with Stylua 0.14.0

This commit is contained in:
Christian Clason 2022-07-07 08:50:10 +02:00 committed by Christian Clason
parent 0fc45ea650
commit 225b474560

View file

@ -69,12 +69,8 @@ M.join_space = M.generate_join " "
function M.setup_commands(mod, commands)
for command_name, def in pairs(commands) do
local f_args = def.f_args or "<f-args>"
local call_fn = string.format(
"lua require'nvim-treesitter.%s'.commands.%s['run<bang>'](%s)",
mod,
command_name,
f_args
)
local call_fn =
string.format("lua require'nvim-treesitter.%s'.commands.%s['run<bang>'](%s)", mod, command_name, f_args)
local parts = vim.tbl_flatten {
"command!",
"-bar",