-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: apply black and add some comments
- Loading branch information
Showing
4 changed files
with
36 additions
and
28 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
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Copyright (c) 2023 Konstantin Chernyshev. | ||
# Licensed under the MIT license. | ||
|
||
from tree_sitter import Language | ||
|
||
Language.build_library( | ||
"my-languages.so", | ||
[ | ||
"tree-sitter/go", | ||
"tree-sitter/javascript", | ||
"tree-sitter/python", | ||
"tree-sitter/php", | ||
"tree-sitter/java", | ||
"tree-sitter/ruby", | ||
"tree-sitter/c-sharp", | ||
"tree-sitter/c", | ||
"tree-sitter/cpp", | ||
], | ||
) | ||
if __name__ == "__main__": | ||
Language.build_library( | ||
"my-languages.so", | ||
[ | ||
"tree-sitter/go", | ||
"tree-sitter/javascript", | ||
"tree-sitter/python", | ||
"tree-sitter/php", | ||
"tree-sitter/java", | ||
"tree-sitter/ruby", | ||
"tree-sitter/c-sharp", | ||
"tree-sitter/c", | ||
"tree-sitter/cpp", | ||
], | ||
) |
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