Skip to content

Commit 630f362

Browse files
Updating languages and readme (#49)
* Updating Scala to Tree Sitter repo * update readme * Updating HTML to official tree-sitter * update readme * Updating TypeScript to official repo * Updating SQL * Update SQL * Updating Python * Fixing conflicts
1 parent c2ef861 commit 630f362

File tree

8 files changed

+464
-204
lines changed

8 files changed

+464
-204
lines changed

CodeLanguages-Container/CodeLanguages-Container.xcodeproj/project.pbxproj

Lines changed: 82 additions & 90 deletions
Large diffs are not rendered by default.

CodeLanguages-Container/CodeLanguages-Container.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-9.29 MB
Binary file not shown.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In order to add support for additional languages we have a complete guide on how
4848
| Grammar | Implemented | Syntax Highlighting |
4949
| -------------- | :---------: | :-----------------: |
5050
| [Agda](https://github.com/tree-sitter/tree-sitter-agda) | | _not available_ |
51-
| [Bash](https://github.com/lukepistrol/tree-sitter-bash) |||
51+
| [Bash](https://github.com/tree-sitter/tree-sitter-bash) |||
5252
| [C](https://github.com/tree-sitter/tree-sitter-c) |||
5353
| [C++](https://github.com/tree-sitter/tree-sitter-cpp) |||
5454
| [C#](https://github.com/tree-sitter/tree-sitter-c-sharp) |||
@@ -59,11 +59,11 @@ In order to add support for additional languages we have a complete guide on how
5959
| [ERB, EJS](https://github.com/tree-sitter/tree-sitter-embedded-template) | | |
6060
| [Go](https://github.com/tree-sitter/tree-sitter-go) |||
6161
| [Haskell](https://github.com/tree-sitter/tree-sitter-haskell) |||
62-
| [HTML](https://github.com/mattmassicotte/tree-sitter-html) |||
62+
| [HTML](https://github.com/tree-sitter/tree-sitter-html) |||
6363
| [Java](https://github.com/tree-sitter/tree-sitter-java) |||
6464
| [JavaScript/JSX](https://github.com/tree-sitter/tree-sitter-javascript) |||
6565
| [JSDoc](https://github.com/cengelbart39/tree-sitter-jsdoc/tree/feature/spm) |||
66-
| [JSON](https://github.com/mattmassicotte/tree-sitter-json) |||
66+
| [JSON](https://github.com/tree-sitter/tree-sitter-json) |||
6767
| [Julia](https://github.com/tree-sitter/tree-sitter-julia) | | _not available_ |
6868
| [Kotlin](https://github.com/lukepistrol/tree-sitter-kotlin/tree/feature/spm-queries) |||
6969
| [Lua](https://github.com/lukepistrol/tree-sitter-lua/tree/feature/spm) |||
@@ -73,12 +73,12 @@ In order to add support for additional languages we have a complete guide on how
7373
| Plain Text || _not available_ |
7474
| [Perl](https://github.com/ganezdragon/tree-sitter-perl) | | _not available_ |
7575
| [PHP](https://github.com/tree-sitter/tree-sitter-php) |||
76-
| [Python](https://github.com/lukepistrol/tree-sitter-python) |||
76+
| [Python](https://github.com/tree-sitter/tree-sitter-python) |||
7777
| [Regex](https://github.com/tree-sitter/tree-sitter-regex) |||
7878
| [Ruby](https://github.com/mattmassicotte/tree-sitter-ruby) |||
7979
| [Rust](https://github.com/tree-sitter/tree-sitter-rust) |||
8080
| [Scala](https://github.com/tree-sitter/tree-sitter-scala) |||
81-
| [Sql](https://github.com/lukepistrol/tree-sitter-sql/tree/feature/spm) |||
81+
| [Sql](https://github.com/DerekStride/tree-sitter-sql) |||
8282
| [Swift](https://github.com/alex-pinkus/tree-sitter-swift/tree/with-generated-files) |||
8383
| [TOML](https://github.com/cengelbart39/tree-sitter-toml/tree/feature/spm) |||
8484
| [TypeScript/TSX](https://github.com/tree-sitter/tree-sitter-typescript) |||

Sources/CodeEditLanguages/Resources/tree-sitter-html/highlights.scm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
"<"
1010
">"
1111
"</"
12+
"/>"
1213
] @punctuation.bracket

Sources/CodeEditLanguages/Resources/tree-sitter-scala/highlights.scm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
"return" @keyword.return
237237

238238
(comment) @comment @spell
239+
(block_comment) @comment @spell
239240

240241
;; `case` is a conditional keyword in case_block
241242

@@ -252,3 +253,7 @@
252253
(identifier) @function.builtin
253254
(#lua-match? @function.builtin "^super$")
254255
)
256+
257+
;; Scala CLI using directives
258+
(using_directive_key) @parameter
259+
(using_directive_value) @string

0 commit comments

Comments
 (0)