mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
Update Readme
This commit is contained in:
parent
a1d24180e2
commit
7e919b6713
1 changed files with 7 additions and 4 deletions
11
README.md
11
README.md
|
@ -48,9 +48,11 @@ 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
|
### Issue I Encountered with Treesitter and Lua Syntax Highlighting
|
||||||
I updated treesitter recently and ran into an issue with my lua file syntax highlighting.
|
I updated treesitter recently and ran into an issue with my lua file syntax highlighting. It seems
|
||||||
I found a solution here: https://github.com/nvim-treesitter/nvim-treesitter.
|
that the homebrew install of neovim includes a lua parser that was no longer compatible.
|
||||||
|
|
||||||
|
I found the solution here: https://github.com/nvim-treesitter/nvim-treesitter.
|
||||||
|
|
||||||
According to the solution, I ran the following:
|
According to the solution, I ran the following:
|
||||||
|
|
||||||
|
@ -58,7 +60,8 @@ According to the solution, I ran the following:
|
||||||
:echo nvim_get_runtime_file('*/lua.so', v:true)
|
:echo nvim_get_runtime_file('*/lua.so', v:true)
|
||||||
```
|
```
|
||||||
|
|
||||||
And according to the output had to remove this directory:
|
And according to the output had to remove the lua parser from the homebrew install like so:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm -rf /opt/homebrew/Cellar/neovim/0.8.0/lib/nvim/parser/lua.so
|
rm -rf /opt/homebrew/Cellar/neovim/0.8.0/lib/nvim/parser/lua.so
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue