summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/utils.lua
diff options
context:
space:
mode:
authorkiyan <yazdani.kiyan@protonmail.com>2021-02-22 23:01:12 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2021-02-27 13:36:33 +0100
commit9d57216c0d94c9823c0d971caeaffb3b261e527e (patch)
tree987e0019a615dbf2cb1c7f7338194152d8032fd0 /lua/nvim-treesitter/utils.lua
parent91a89aa408c19572bd7a41caa8ab8666143bec8c (diff)
chore: remove useless code and indent files
Diffstat (limited to 'lua/nvim-treesitter/utils.lua')
-rw-r--r--lua/nvim-treesitter/utils.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua
index de579bd6..8d5191d0 100644
--- a/lua/nvim-treesitter/utils.lua
+++ b/lua/nvim-treesitter/utils.lua
@@ -8,11 +8,11 @@ function M.setup_commands(mod, commands)
for command_name, def in pairs(commands) do
local call_fn = string.format("lua require'nvim-treesitter.%s'.commands.%s.run(<f-args>)", mod, command_name)
local parts = vim.tbl_flatten({
- "command!",
- def.args,
- command_name,
- call_fn,
- })
+ "command!",
+ def.args,
+ command_name,
+ call_fn,
+ })
api.nvim_command(table.concat(parts, " "))
end
end