Skip to content

Commit b99f9b6

Browse files
Document Nix and Solidity language support in ast-grep 0.39.0
Co-authored-by: HerringtonDarkholme <[email protected]>
1 parent 34992ae commit b99f9b6

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

website/catalog/nix/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Nix
2+
3+
This page curates a list of example ast-grep rules to check and to rewrite Nix code.
4+
5+
<!-- Add example rules here when available -->

website/catalog/solidity/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Solidity
2+
3+
This page curates a list of example ast-grep rules to check and to rewrite Solidity code.
4+
5+
<!-- Add example rules here when available -->

website/reference/languages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ The table below lists all languages that are supported by ast-grep.
2424
|Json | `json` | `json` |
2525
|Kotlin | `kotlin`, `kt` | `kt`, `ktm`, `kts`|
2626
|Lua | `lua` | `lua`|
27+
|Nix | `nix` | `nix`|
2728
|Php | `php` | `php` |
2829
|Python | `py`, `python` | `py`, `py3`, `pyi`, `bzl`|
2930
|Ruby | `rb`, `ruby` | `rb`, `rbw`, `gemspec`|
3031
|Rust | `rs`, `rust` | `rs`|
3132
|Scala | `scala` | `scala`, `sc`, `sbt`|
33+
|Solidity | `solidity`, `sol` | `sol`|
3234
|Swift | `swift` | `swift`|
3335
|TypeScript | `ts`, `typescript` | `ts`, `cts`, `mts`|
3436
|Tsx | `tsx` | `tsx`|

website/src/catalog/data.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ export const languages = {
4848
html: 'HTML',
4949
java: 'Java',
5050
kotlin: 'Kotlin',
51+
nix: 'Nix',
5152
python: 'Python',
5253
ruby: 'Ruby',
5354
rust: 'Rust',
55+
solidity: 'Solidity',
5456
tsx: 'TSX',
5557
typescript: 'TypeScript',
5658
yaml: 'YAML',

0 commit comments

Comments
 (0)