mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
chore: reformat with Stylua 0.14.0
This commit is contained in:
parent
0fc45ea650
commit
225b474560
1 changed files with 2 additions and 6 deletions
|
|
@ -69,12 +69,8 @@ M.join_space = M.generate_join " "
|
||||||
function M.setup_commands(mod, commands)
|
function M.setup_commands(mod, commands)
|
||||||
for command_name, def in pairs(commands) do
|
for command_name, def in pairs(commands) do
|
||||||
local f_args = def.f_args or "<f-args>"
|
local f_args = def.f_args or "<f-args>"
|
||||||
local call_fn = string.format(
|
local call_fn =
|
||||||
"lua require'nvim-treesitter.%s'.commands.%s['run<bang>'](%s)",
|
string.format("lua require'nvim-treesitter.%s'.commands.%s['run<bang>'](%s)", mod, command_name, f_args)
|
||||||
mod,
|
|
||||||
command_name,
|
|
||||||
f_args
|
|
||||||
)
|
|
||||||
local parts = vim.tbl_flatten {
|
local parts = vim.tbl_flatten {
|
||||||
"command!",
|
"command!",
|
||||||
"-bar",
|
"-bar",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue