Add basic support for common lisp

This commit is contained in:
Blaž Hrastnik 2022-12-05 14:40:41 +09:00
parent 59cfe95776
commit 417676953b
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640
3 changed files with 15 additions and 2 deletions

View File

@ -878,14 +878,25 @@ source = { git = "https://github.com/ganezdragon/tree-sitter-perl", rev = "0ac2c
[[language]] [[language]]
name = "racket" name = "racket"
scope = "source.rkt" scope = "source.racket"
roots = [] roots = []
file-types = ["rkt"] file-types = ["rkt", "rktd", "rktl", "scrbl"]
shebangs = ["racket"] shebangs = ["racket"]
comment-token = ";" comment-token = ";"
language-server = { command = "racket", args = ["-l", "racket-langserver"] } language-server = { command = "racket", args = ["-l", "racket-langserver"] }
grammar = "scheme" 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]] [[language]]
name = "comment" name = "comment"
scope = "scope.comment" scope = "scope.comment"

View File

@ -0,0 +1 @@
; inherits: scheme

View File

@ -0,0 +1 @@
; inherits: scheme