tree-sitter: Use more standard shared dbscheme sections

We now use the shared "Overlay support" and "Database metadata".
This commit is contained in:
Ian Lynagh
2026-01-13 17:24:31 +00:00
parent 4140121e96
commit df8029ff87

View File

@@ -106,11 +106,23 @@ yaml_locations(unique int locatable: @yaml_locatable ref,
@yaml_locatable = @yaml_node | @yaml_error;
/*- Database metadata -*/
/**
* The CLI will automatically emit applicable tuples for this table,
* such as `databaseMetadata("isOverlay", "true")` when building an
* overlay database.
*/
databaseMetadata(
string metadataKey: string ref,
string value: string ref
);
/*- Overlay support -*/
/**
* The CLI will automatically emit tuples for each new/modified/deleted file
* when building an overlay database.
*/
overlayChangedFiles(
string path: string ref
);