You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you have compiled the dynamic library for your custom language, you need to register it in the `sgconfig.yml` file.
89
-
You can use the command [`sg new`](/guide/scan-project.html#create-scaffolding) to create a project and find the configuration file in the project root.
89
+
You can use the command [`ast-grep new`](/guide/scan-project.html#create-scaffolding) to create a project and find the configuration file in the project root.
90
90
91
91
You need to add a new entry under the `customLanguages` key with the name of your custom language and some properties:
92
92
@@ -120,7 +120,7 @@ Now you are ready to use your custom language with ast-grep! You can use it as a
120
120
For example, to search for all occurrences of `print` in mojo files, you can run:
0 commit comments