feat: allow specifying an input query-paths argument

This commit is contained in:
Amaan Qureshi 2023-07-20 08:04:59 -04:00
parent 9971e5d5f5
commit ce4a9ef4de
No known key found for this signature in database
GPG key ID: E67890ADC4227273
3 changed files with 75 additions and 11 deletions

View file

@ -76,7 +76,7 @@ fn test_highlights_indented(
.language_configuration_for_file_name(&test_file_path)?
.ok_or_else(|| anyhow!("No language found for path {:?}", test_file_path))?;
let highlight_config = language_config
.highlight_config(language, apply_all_captures)?
.highlight_config(language, apply_all_captures, None)?
.ok_or_else(|| anyhow!("No highlighting config found for {:?}", test_file_path))?;
match test_highlight(
&loader,