mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Added explanation for treesitte update error
This commit is contained in:
parent
0b28e667ea
commit
a1d24180e2
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -48,6 +48,21 @@ brew install ripgrep
|
||||||
### Relevant Files
|
### Relevant Files
|
||||||
- [.config/nvim](.config/nvim)
|
- [.config/nvim](.config/nvim)
|
||||||
|
|
||||||
|
### Issue I Encountered with Treesitter Update and Lua Syntax Highlighting
|
||||||
|
I updated treesitter recently and ran into an issue with my lua file syntax highlighting.
|
||||||
|
I found a solution here: https://github.com/nvim-treesitter/nvim-treesitter.
|
||||||
|
|
||||||
|
According to the solution, I ran the following:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
:echo nvim_get_runtime_file('*/lua.so', v:true)
|
||||||
|
```
|
||||||
|
|
||||||
|
And according to the output had to remove this directory:
|
||||||
|
```bash
|
||||||
|
rm -rf /opt/homebrew/Cellar/neovim/0.8.0/lib/nvim/parser/lua.so
|
||||||
|
```
|
||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
#### Plugin Manager
|
#### Plugin Manager
|
||||||
- [wbthomason/packer](https://github.com/wbthomason/packer.nvim) - Popular plugin manager
|
- [wbthomason/packer](https://github.com/wbthomason/packer.nvim) - Popular plugin manager
|
||||||
|
|
Loading…
Reference in a new issue