pub fn check_syntax(content: &str, ext: &str) -> Option<SyntaxCheck>Expand description
Parse content as ext and report whether the tree has syntax errors.
Returns None when the language is unsupported or tree-sitter is compiled
out — the caller then skips the gate rather than guessing.