fix(cli): pass all fields to tree-sitter.json in init
This commit is contained in:
parent
31af4294a7
commit
f3f7230ee3
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ impl JsonConfigOpts {
|
|||
scope: self.scope,
|
||||
path: None,
|
||||
external_files: PathsJSON::Empty,
|
||||
file_types: None,
|
||||
file_types: Some(self.file_types),
|
||||
highlights: PathsJSON::Empty,
|
||||
injections: PathsJSON::Empty,
|
||||
locals: PathsJSON::Empty,
|
||||
|
|
@ -155,7 +155,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