mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 01:11:12 +01:00
Added description of recent fix for nvim-treesitter
This commit is contained in:
parent
de7061dd53
commit
c96e14dd70
1 changed files with 2 additions and 11 deletions
13
README.md
13
README.md
|
@ -57,17 +57,8 @@ For XCode Command Line Tools do:
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
```
|
```
|
||||||
|
|
||||||
### Issue with Nvim-Treesitter Update and Lua Parser
|
### Issue with Nvim-Treesitter Updates
|
||||||
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".
|
When nvim-treesitter updates, there might be breaking changes to corresponding parsers being used. I've made a change to how nvim-treesitter is installed with packer and the run command to make sure parsers are properly updated whenever necessary. It was missing something before. You can look at the change here: de7061dd5373100c2c1dccb1f759ad350a5cf88a.
|
||||||
|
|
||||||
To fix it, after opening Neovim do this:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
:TSInstall lua
|
|
||||||
```
|
|
||||||
|
|
||||||
It will ask if you would like to reinstall the parser. Answer "y" for yes. After that is finished, restart neovim and the problem should be fixed.
|
|
||||||
|
|
||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
#### Plugin Manager
|
#### Plugin Manager
|
||||||
|
|
Loading…
Reference in a new issue