diff options
author | Michael Davis | 2024-01-25 19:05:42 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-01-28 09:13:33 +0000 |
commit | 5e0b3cc28b8ae6da1f41b47080a695c99bbc844a (patch) | |
tree | 9c20789f2d2aaa2ec691f3b3790c3eabf8b92955 /helix-lsp | |
parent | 9978d421fe7237c74932c34263d91445728d65d1 (diff) |
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.
Diffstat (limited to 'helix-lsp')
0 files changed, 0 insertions, 0 deletions