🐛 fix(symbol): index all system tsf files

Do not drop system-library .tsf units when the file stem differs from top-level symbols.

Add test_provider support for --interpreter=... and an interpreter integration test that validates full indexing plus completion+resolve snippet.
This commit is contained in:
csh
2025-12-24 12:02:30 +08:00
parent 02864dda89
commit adec86a3aa
5 changed files with 244 additions and 7 deletions
@@ -25,6 +25,7 @@ set(SOURCES
json_flow_test.cppm
json_provider_coverage_test.cppm
definitions_test.cppm
interpreter_test.cppm
provider_misc_test.cppm
provider_surface_test.cppm
../../src/tree-sitter/parser.c
@@ -52,6 +53,7 @@ target_sources(
${CMAKE_CURRENT_SOURCE_DIR}/json_flow_test.cppm
${CMAKE_CURRENT_SOURCE_DIR}/json_provider_coverage_test.cppm
${CMAKE_CURRENT_SOURCE_DIR}/definitions_test.cppm
${CMAKE_CURRENT_SOURCE_DIR}/interpreter_test.cppm
${CMAKE_CURRENT_SOURCE_DIR}/provider_misc_test.cppm
${CMAKE_CURRENT_SOURCE_DIR}/provider_surface_test.cppm
../../src/bridge/glaze.cppm