aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/shell_command_selectors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua
index 03425c117..c215aa77f 100644
--- a/lua/nvim-treesitter/shell_command_selectors.lua
+++ b/lua/nvim-treesitter/shell_command_selectors.lua
@@ -329,7 +329,7 @@ function M.make_directory_change_for_command(dir, command)
return string.format("pushd %s ; %s ; popd", cmdpath(dir), command)
end
else
- return string.format("cd %s;\n %s", dir, command)
+ return string.format("cd %s;\n%s", dir, command)
end
end