Made description of lua parser error more concise

This commit is contained in:
Josean Martinez 2022-11-05 18:27:11 -04:00 committed by GitHub
parent 269b025951
commit b5ed50bc33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,11 +28,9 @@
📹 Youtube Step-by-Step Guide: [How I Setup Neovim On My Mac To Make It Amazing](https://youtu.be/vdn_pKJUda8) 📹 Youtube Step-by-Step Guide: [How I Setup Neovim On My Mac To Make It Amazing](https://youtu.be/vdn_pKJUda8)
### Issue with Nvim-Treesitter Update and Lua Parser ### Issue with Nvim-Treesitter Update and Lua Parser
I updated "nvim-treesitter" recently and ran into an issue with lua syntax highlighting. The homebrew install of neovim 0.8 includes a built-in lua parser that is no longer compatible with the latest version of "nvim-treesitter".
It seems that the homebrew install of neovim 0.8 includes a built-in lua parser that is no longer compatible with the latest version of "nvim-treesitter". By default, "nvim-treesitter" will try to use this parser instead of installing the lua parser that is available through "nvim-treesitter" itself and thus throw an error. To fix it, after opening Neovim do this:
I had to manually install the latest lua parser available through "nvim-treesitter" so that it would use this parser instead of the one that comes built into neovim by executing the following within neovim:
```bash ```bash
:TSInstall lua :TSInstall lua