mirror of https://github.com/helix-editor/helix
Use injection syntax trees for bracket matching
Previously we used the root syntax tree for bracket matching. We can use the new functionality in `Syntax` for finding the correct syntax tree for a given byte range though so we use the correct syntax tree within injections. This improves bracket matching behavior within HTML injections like script or style tags for example.pull/9386/head
parent
9978d421fe
commit
5e0b3cc28b
Loading…
Reference in New Issue