diff options
author | Zack Teska <zerodahero@users.noreply.github.com> | 2024-03-11 09:54:42 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 08:54:42 -0700 |
commit | f5f8498cf27931e06645c9fe020b9c28dce49d98 (patch) | |
tree | f4f5d30c6f85fbca73a27101b341d64adc9314c1 /lua | |
parent | ca08dab8f278563b0d76bd3336d26e17d2220f7c (diff) |
fix: add cwd to honor project php-cs-fixer (#325)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/php_cs_fixer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/conform/formatters/php_cs_fixer.lua b/lua/conform/formatters/php_cs_fixer.lua index e63ec42..bff5a62 100644 --- a/lua/conform/formatters/php_cs_fixer.lua +++ b/lua/conform/formatters/php_cs_fixer.lua @@ -12,4 +12,5 @@ return { }, "php-cs-fixer"), args = { "fix", "$FILENAME" }, stdin = false, + cwd = util.root_file({ "composer.json" }), } |