Skip to content

Commit

Permalink
[zsh] Fix beautysh
Browse files Browse the repository at this point in the history
Beautysh edits file in-place, so one should pass it's content with
stdin
  • Loading branch information
boris-stepanov committed Dec 8, 2023
1 parent cb4778b commit c9a751c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/formatter/filetypes/zsh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ function M.beautysh()
args = {
"-i",
shiftwidth,
util.escape_path(util.get_current_buffer_file_path()),
"-",
},
stdin = true,
}
end

Expand Down

0 comments on commit c9a751c

Please sign in to comment.