cfb0b023ad
* 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.
24 lines
702 B
Zig
24 lines
702 B
Zig
comptime {
|
|
_ = @import("helper.zig");
|
|
|
|
_ = @import("utility/offsets.zig");
|
|
_ = @import("utility/position_context.zig");
|
|
_ = @import("utility/uri.zig");
|
|
|
|
// TODO Lifecycle Messages
|
|
|
|
// TODO Document Synchronization
|
|
|
|
// LSP features
|
|
_ = @import("lsp_features/completion.zig");
|
|
_ = @import("lsp_features/folding_range.zig");
|
|
_ = @import("lsp_features/inlay_hints.zig");
|
|
_ = @import("lsp_features/references.zig");
|
|
_ = @import("lsp_features/selection_range.zig");
|
|
_ = @import("lsp_features/semantic_tokens.zig");
|
|
|
|
// Language features
|
|
_ = @import("language_features/cimport.zig");
|
|
_ = @import("language_features/comptime_interpreter.zig");
|
|
}
|