Releases: chfritz/atom-sane-indentation
Added HTML support
tree-sitter based indentation for JavaScript
This release uses the tree-sitter parser that is included in recent versions of atom.io. The parse-tree provided by tree-sitter is used to identify how many scopes are open on the current line. This is great, because it gives us the ability to (finally) define indentation in absolute terms, as opposed to relative to the previous line -- which had a number of short-comings.
For now this only works for JavaScript, as I still need to identify the right scopes for other languages. This is why I named this 0.9 (as opposed to 1.0). It's more of a preview. As before, it is not clear how long this package will live. Once the core indentation logic of atom.io is based on tree-sitter (which is planned), then this package will go away. Until then, this is a way to explore how this is all ging to work.