Add "just" parser

This commit is contained in:
Tomas Sandven 2024-03-03 21:02:10 +01:00 committed by Christian Clason
parent f60b33c1e5
commit cf685ce85f
7 changed files with 240 additions and 0 deletions

14
queries/just/indents.scm Normal file
View file

@ -0,0 +1,14 @@
; Source: https://github.com/IndianBoy42/tree-sitter-just/blob/main/queries/just/indents.scm
[
(recipe)
(string)
(external_command)
] @indent.begin
(string
[
"'''"
"\"\"\""
] @indent.branch @indent.end)
(comment) @indent.auto