aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorkiyan <yazdani.kiyan@protonmail.com>2022-05-14 09:16:32 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-05-14 12:58:07 +0200
commitc2ec0cac81978aca2a7e4eb0b25132e3c256b75c (patch)
tree8ab754f0b9893a7736ae08be3c41034b0405d837 /lua
parenthighlights(scheme): some fix (#2932) (diff)
downloadnvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar.gz
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar.bz2
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar.lz
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar.xz
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.tar.zst
nvim-treesitter-c2ec0cac81978aca2a7e4eb0b25132e3c256b75c.zip
fix(commands): add -bar to allow other commands
addresses #2920
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/utils.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua
index 06e0e03fb..b64f5b1d9 100644
--- a/lua/nvim-treesitter/utils.lua
+++ b/lua/nvim-treesitter/utils.lua
@@ -56,6 +56,7 @@ function M.setup_commands(mod, commands)
)
local parts = vim.tbl_flatten {
"command!",
+ "-bar",
def.args,
command_name,
call_fn,