-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from julienvincent/jv/ref-trztzlkssmsq
Add treesitter queries and tests for commonlisp
- Loading branch information
Showing
12 changed files
with
427 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
;; We only consider a list_lit a form if it starts with a "(" anonymous node. | ||
;; Some constructs like `(defun)` or `(loop)` are constructed as: | ||
;; | ||
;; (list_lit | ||
;; (defun ...)) | ||
;; | ||
;; And in these cases we want to consider the `(defun)` the form inner and | ||
;; 'ignore' the `list_lit` node | ||
(list_lit | ||
open: "(") @form | ||
|
||
(loop_macro) @form | ||
(defun) @form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.