Skip to content

Commit

Permalink
parsers.py += .sw Sway syntax # https://fuellabs.github.io/sway
Browse files Browse the repository at this point in the history
Tested using `python setup.py docker_test` from Aider-AI#1 .

Tree sitter Sway implementation: https://github.com/FuelLabs/tree-sitter-sway
  • Loading branch information
Greg committed Nov 28, 2023
1 parent 1e3e240 commit b308173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grep_ast/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@
".scala": "scala",
".sql": "sql",
".sqlite": "sqlite",
".sw": "sway", # https://github.com/FuelLabs/tree-sitter-sway
".toml": "toml",
".tsq": "tsq",
".tsx": "typescript",
".ts": "typescript",
".tsx": "typescript",
".yaml": "yaml",
}

Expand Down

0 comments on commit b308173

Please sign in to comment.