zls/tests/lsp_features
Alex Kladov cfb0b023ad
fix #801, IOOB in foldingRanges (#802)
* Add smoke tests for folding ranges

* fix index out of bounds in foldingRanges

closes #801

For invalid syntax trees, zig's parser seems to return bogus data where
startToken > endToken, which then causes everything else to crash.

This seems like a deeper issue, which needs to be fixed "properly", but
let's just paper over it here.
2022-12-03 17:23:13 +02:00
..
completion.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
folding_range.zig fix #801, IOOB in foldingRanges (#802) 2022-12-03 17:23:13 +02:00
inlay_hints.zig Revamp bulid.zig discovery (#688) 2022-09-28 23:12:34 -04:00
references.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00
selection_range.zig textDocument/selectionRange 2022-11-26 11:31:46 +00:00
semantic_tokens.zig Allocgate 2.0 slain (#791) 2022-12-02 15:14:58 -05:00