mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Made description of lua parser error more concise
This commit is contained in:
parent
269b025951
commit
b5ed50bc33
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
||||
### 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.
|
||||
|
||||
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:
|
||||
To fix it, after opening Neovim do this:
|
||||
|
||||
```bash
|
||||
:TSInstall lua
|
||||
|
|
Loading…
Reference in a new issue