Skip to content

Commit b308173

Browse files
author
Greg
committed
parsers.py += .sw Sway syntax # https://fuellabs.github.io/sway
Tested using `python setup.py docker_test` from Aider-AI#1 . Tree sitter Sway implementation: https://github.com/FuelLabs/tree-sitter-sway
1 parent 1e3e240 commit b308173

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grep_ast/parsers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
".scala": "scala",
4747
".sql": "sql",
4848
".sqlite": "sqlite",
49+
".sw": "sway", # https://github.com/FuelLabs/tree-sitter-sway
4950
".toml": "toml",
5051
".tsq": "tsq",
51-
".tsx": "typescript",
5252
".ts": "typescript",
53+
".tsx": "typescript",
5354
".yaml": "yaml",
5455
}
5556

0 commit comments

Comments
 (0)