diff options
author | Blaž Hrastnik | 2022-12-05 05:40:41 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-12-05 05:40:41 +0000 |
commit | 417676953bce6a4be91f4b8da35ed0e361b585ec (patch) | |
tree | bf3601289222a8ccae5f9ff7c1f72376182eda79 | |
parent | 59cfe95776238f047131e497124c97d69d838c2b (diff) |
Add basic support for common lisp
-rw-r--r-- | languages.toml | 15 | ||||
-rw-r--r-- | runtime/queries/common-lisp/highlights.scm | 1 | ||||
-rw-r--r-- | runtime/queries/common-lisp/injections.scm | 1 |
3 files changed, 15 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml index d214a082..325a39df 100644 --- a/languages.toml +++ b/languages.toml @@ -878,15 +878,26 @@ source = { git = "https://github.com/ganezdragon/tree-sitter-perl", rev = "0ac2c [[language]] name = "racket" -scope = "source.rkt" +scope = "source.racket" roots = [] -file-types = ["rkt"] +file-types = ["rkt", "rktd", "rktl", "scrbl"] shebangs = ["racket"] comment-token = ";" language-server = { command = "racket", args = ["-l", "racket-langserver"] } grammar = "scheme" [[language]] +name = "common-lisp" +scope = "source.lisp" +roots = [] +file-types = ["lisp", "asd", "cl", "l", "lsp", "ny"," podsl", "sexp"] +shebangs = ["lisp", "sbcl", "ccl", "clisp", "ecl"] +comment-token = ";" +indent = { tab-width = 2, unit = " " } +language-server = { command = "cl-lsp", args = [ "stdio" ] } +grammar = "scheme" + +[[language]] name = "comment" scope = "scope.comment" roots = [] diff --git a/runtime/queries/common-lisp/highlights.scm b/runtime/queries/common-lisp/highlights.scm new file mode 100644 index 00000000..e11eb788 --- /dev/null +++ b/runtime/queries/common-lisp/highlights.scm @@ -0,0 +1 @@ +; inherits: scheme diff --git a/runtime/queries/common-lisp/injections.scm b/runtime/queries/common-lisp/injections.scm new file mode 100644 index 00000000..e11eb788 --- /dev/null +++ b/runtime/queries/common-lisp/injections.scm @@ -0,0 +1 @@ +; inherits: scheme |