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 Jun 20, 2024
1 parent ad246d3 commit 3526940
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 3526940

Please sign in to comment.