book: Mention git submodule sync too

This commit is contained in:
Blaž Hrastnik 2021-11-07 10:33:05 +09:00 committed by GitHub
parent acced82be6
commit 29fe504398
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ For a language to have syntax-highlighting and indentation among other things, y
- 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
```sh
$ git submodule update --init
$ git submodule sync; git submodule update --init
```
- 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.