fix(cli): pass all fields to tree-sitter.json in init
(cherry picked from commit f3f7230ee3)
This commit is contained in:
parent
a498790a82
commit
12bc174205
1 changed files with 2 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ impl JsonConfigOpts {
|
|||
scope: self.scope,
|
||||
path: PathBuf::from("."),
|
||||
external_files: PathsJSON::Empty,
|
||||
file_types: None,
|
||||
file_types: Some(self.file_types),
|
||||
highlights: PathsJSON::Empty,
|
||||
injections: PathsJSON::Empty,
|
||||
locals: PathsJSON::Empty,
|
||||
|
|
@ -154,7 +154,7 @@ impl JsonConfigOpts {
|
|||
authors: Some(vec![Author {
|
||||
name: self.author,
|
||||
email: self.email,
|
||||
url: None,
|
||||
url: self.url.map(|url| url.to_string()),
|
||||
}]),
|
||||
links: Some(Links {
|
||||
repository: self.repository.unwrap_or_else(|| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue