Closed jjnilton closed 1 year ago
Is there a way to set web-mode to indent JavaScript inside Twig blocks that are inside inline JavaScript?
Now when I try to indent the console.log line it stays this way:
console.log
<script> {% if condition %} console.log('Current indentation'); {% endif %} </script>
I want it to behave this way:
I tried some padding/indenting options, but couldn't find one to do what I wanted. Is that possible? Thanks!
should be solved with last commit
Is there a way to set web-mode to indent JavaScript inside Twig blocks that are inside inline JavaScript?
Now when I try to indent the
console.log
line it stays this way:I want it to behave this way:
I tried some padding/indenting options, but couldn't find one to do what I wanted. Is that possible? Thanks!