Formatting did not transfer. In the second example, I’d like the `body` tag indented by two spaces.
On Sep 24, 2014, at 4:36 PM, David Aaron Fendley tricon@me.com wrote:
I would like code and markup inside certain tags to be indented. Currently, this occurs…
<style> body { … } </style>
Desired result:
<style> body { … } </style>
I’ve determined that this is because style, script, and other tags are marked as `source.*`. If I rename these language constructs to something that doesn’t start with “source”, then indentation works as expected. However, I do not want to throwaway the advantages of inheriting from source.
Does anyone know where I can begin looking to modify the `source` grammar so that code within certain tags is indented? I have not had any luck with `increaseIndentPattern` (yet).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate