book: Mention git submodule sync too

pull/978/head^2
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
1 changed files with 1 additions and 1 deletions

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.