Skip to content

Commit 71c7820

Browse files
committed
🐛 Only lint source_directive belong to file
1 parent bd33485 commit 71c7820

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

queries/schema.scm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
(source_file_directive
2-
(path
3-
(string) @source-file.-))
1+
(file
2+
(source_file_directive
3+
(path
4+
(string) @source-file.-)))
45

56
(set_option_directive
67
(option) @--option

tree-sitter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"metadata": {
17-
"version": "0.1.4",
17+
"version": "0.1.5",
1818
"license": "MIT",
1919
"description": "tmux grammar for tree-sitter",
2020
"authors": [

0 commit comments

Comments
 (0)