plugin-lua
plugin-lua copied to clipboard
Fix for Prettier 2
Based on https://github.com/prettier/plugin-php/pull/1359.
with PR #17 merged, this one can now be closed. thanks for pointing out the plugin-php PR, I think that using their code as a reference for other fixups we need to do will be super helpful!
Dang, sorry @gakada! I totally missed the notification for this PR.
That said, I still think we should merge in this code, since it conditionally handles both prettier 1 and 2.
Could you or @matthargett rebase it and resolve conflicts?