fix(rust): use PathBuf for --query-paths highlight option

This commit is contained in:
WillLillis 2025-01-04 01:57:58 -05:00 committed by Amaan Qureshi
parent 619d347f95
commit 07c08432ca
2 changed files with 13 additions and 13 deletions

View file

@ -379,7 +379,7 @@ struct Highlight {
pub captures_path: Option<PathBuf>,
/// The paths to files with queries
#[arg(long, num_args = 1..)]
pub query_paths: Option<Vec<String>>,
pub query_paths: Option<Vec<PathBuf>>,
/// Select a language by the scope instead of a file extension
#[arg(long)]
pub scope: Option<String>,