Not sure if this is a problem with TM2 or the Python grammar, so I’m asking here first.
If I have something like this in a Python script:
# temporarily commented code # followed by an actual comment
the indentation when wrapping is based on the second ‘#’. For example:
I don’t see this behavior with lists in Markdown, so I suspect it’s a problem with the Python grammar. Should I open an issue on GitHub? Thanks.
On 29/12/2011, at 21.38, Rob McBroom wrote:
Not sure if this is a problem with TM2 or the Python grammar […] Should I open an issue on GitHub? Thanks.
Yes, please add this to the Source bundle, which is the one handling this[1].
Though I am not sure a good solution can really be found w/o augmenting TM2’s system for this.
[1]: https://github.com/avian/source.tmbundle/blob/master/Preferences/Style:%20Li...