on master help sign in
book: Mention git submodule sync too
29fe504Blaž Hrastnik
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
43
43
44- 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
44- 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
45```sh
45```sh
46−$ git submodule update --init
46+$ git submodule sync; git submodule update --init
47```
47```
48- 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.
48- 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.
49
49