on master help sign in
book: Mention git submodule sync too
commit29fe504398e483b8830564727ee8e2f209f06615 authorBlaž Hrastnik <blaz@mxxn.io> dateSun 7 Nov 2021, 10:33 (5 years ago) parentacced82
1 file changed+1−1
book/src/guides/adding_languages.md+1−1
book/src/guides/adding_languages.md+1−1
@@ -43,7 +43,7 @@ For a language to have syntax-highlighting and indentation among other things, y
4343
4444- If you get errors when building after switching branches, you may have to remove or update tree-sitter submodules. You can update submodules by running
4545```sh
46−$ git submodule update --init
46+$ git submodule sync; git submodule update --init
4747```
4848- Make sure to not use the `--remote` flag. To remove submodules look inside the `.gitmodules` and remove directories that are not present inside of it.
4949