File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ ==============
2+ Single comment
3+ ==============
4+
5+ // This is a comment
6+
7+ ---
8+
9+ (source_file
10+ (comment))
11+
12+ =====================
13+ Inline header comment
14+ =====================
15+
16+ task build: // task that builds tree sitter
17+ run = tree-sitter build
18+
19+ ---
20+
21+ (source_file
22+ (task
23+ (kw_task)
24+ (identifier)
25+ (comment)
26+ (run_definition
27+ (run_key)
28+ (command))))
29+
30+ ==================
31+ Inline key comment
32+ ==================
33+
34+ task build:
35+ run = tree-sitter build // build command for tree sitter
36+
37+ ---
38+
39+ (source_file
40+ (task
41+ (kw_task)
42+ (identifier)
43+ (run_definition
44+ (run_key)
45+ (command)))
46+ (comment))
47+
48+ ================================
49+ Inline key comment multiple keys
50+ ================================
51+
52+ task build:
53+ run = tree-sitter build // build command for tree sitter
54+ desc = build tree sitter
55+
56+ ---
57+
58+ (source_file
59+ (task
60+ (kw_task)
61+ (identifier)
62+ (run_definition
63+ (run_key)
64+ (command))
65+ (comment)
66+ (desc_definition
67+ (desc_key)
68+ (text))))
You can’t perform that action at this time.
0 commit comments