diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 487057e61..b1fde0016 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -95,7 +95,7 @@ | python | ✓ | ✓ | ✓ | `pylsp` | | qml | ✓ | | ✓ | `qmlls` | | r | ✓ | | | `R` | -| racket | | | | `racket` | +| racket | ✓ | | | `racket` | | regex | ✓ | | | | | rescript | ✓ | ✓ | | `rescript-language-server` | | rmarkdown | ✓ | | ✓ | `R` | diff --git a/languages.toml b/languages.toml index 756315cd6..4eb8a4dab 100644 --- a/languages.toml +++ b/languages.toml @@ -880,6 +880,7 @@ file-types = ["rkt"] shebangs = ["racket"] comment-token = ";" language-server = { command = "racket", args = ["-l", "racket-langserver"] } +grammar = "scheme" [[language]] name = "comment" @@ -1526,7 +1527,7 @@ source = { git = "https://github.com/metio/tree-sitter-ssh-client-config", rev = name = "scheme" scope = "source.scheme" injection-regex = "scheme" -file-types = ["ss", "rkt"] # "scm", +file-types = ["ss"] # "scm", roots = [] comment-token = ";" indent = { tab-width = 2, unit = " " } diff --git a/runtime/queries/racket/highlights.scm b/runtime/queries/racket/highlights.scm new file mode 100644 index 000000000..e11eb7881 --- /dev/null +++ b/runtime/queries/racket/highlights.scm @@ -0,0 +1 @@ +; inherits: scheme diff --git a/runtime/queries/racket/injections.scm b/runtime/queries/racket/injections.scm new file mode 100644 index 000000000..e11eb7881 --- /dev/null +++ b/runtime/queries/racket/injections.scm @@ -0,0 +1 @@ +; inherits: scheme