Skip to content

Commit

Permalink
Add basic support for common lisp
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Dec 5, 2022
1 parent 59cfe95 commit 4176769
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -878,14 +878,25 @@ 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"
Expand Down
1 change: 1 addition & 0 deletions runtime/queries/common-lisp/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: scheme
1 change: 1 addition & 0 deletions runtime/queries/common-lisp/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: scheme

0 comments on commit 4176769

Please sign in to comment.