Weird formatting on multiline code for blade directive attributes and Alpinejs attributes
Hi,
I have been using your extension for months now but I still run into this issue.
The indentation is wrong/weird for multiline code inside blade directive and alpinejs attributes. the formatting works fine for oneliners
I have attached a screenshot for visual reference.
Also, Thanks for your work towards the extension. Really cool.
Just thought I would also include my config files.
.blade.format.json
.prettierrc
Update.
I managed to fix this issue by simply settings the "useTabs" option to false.
I guess there's a bug in the plugin affecting calculation of indentations when "useTabs" option is true instead of spaces.
Cheers.
Ah that makes a lot of sense! Thanks for the extra info (the tab support is pretty flaky at the moment and needs an overhaul 😅)