-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to new tree-sitter.json (#152)
tree-sitter greeted me with this message: ``` Warning: your package.json's `tree-sitter` field has been automatically migrated to the new `tree-sitter.json` config file For more information, visit https://tree-sitter.github.io/tree-sitter/creating-parsers ``` In this PR, I want to migrate tree-sitter's config to the new format.
- Loading branch information
Showing
2 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"grammars": [ | ||
{ | ||
"name": "nu", | ||
"camelcase": "Nu", | ||
"scope": "source.nu", | ||
"path": ".", | ||
"file-types": [ | ||
"nu" | ||
], | ||
"highlights": "queries/nu/highlights.scm", | ||
"injections": "queries/nu/injections.scm" | ||
} | ||
], | ||
"metadata": { | ||
"version": "0.0.1", | ||
"license": "MIT", | ||
"description": "nu-lang", | ||
"authors": [ | ||
{ | ||
"name": "The Nushell Contributors" | ||
} | ||
], | ||
"links": { | ||
"repository": "https://github.com/tree-sitter/tree-sitter-nu" | ||
} | ||
}, | ||
"bindings": { | ||
"c": true, | ||
"go": true, | ||
"node": true, | ||
"python": true, | ||
"rust": true, | ||
"swift": true | ||
} | ||
} |