mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 01:11:12 +01:00
Update Readme
This commit is contained in:
parent
7e919b6713
commit
7bb61e1669
1 changed files with 18 additions and 18 deletions
36
README.md
36
README.md
|
@ -27,6 +27,24 @@
|
|||
|
||||
📹 Youtube Step-by-Step Guide: [How I Setup Neovim On My Mac To Make It Amazing](https://youtu.be/vdn_pKJUda8)
|
||||
|
||||
### Issue I Encountered with Treesitter and Lua Syntax Highlighting
|
||||
I updated treesitter recently and ran into an issue with my lua file syntax highlighting. It seems
|
||||
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:
|
||||
|
||||
```bash
|
||||
:echo nvim_get_runtime_file('*/lua.so', v:true)
|
||||
```
|
||||
|
||||
And according to the output had to remove the lua parser from the homebrew install like so:
|
||||
|
||||
```bash
|
||||
rm -rf /opt/homebrew/Cellar/neovim/0.8.0/lib/nvim/parser/lua.so
|
||||
```
|
||||
|
||||
### Requires
|
||||
- True Color Terminal Like: [iTerm2](https://iterm2.com/)
|
||||
- [Neovim](https://neovim.io/) (Version 0.8 or Later)
|
||||
|
@ -48,24 +66,6 @@ brew install ripgrep
|
|||
### Relevant Files
|
||||
- [.config/nvim](.config/nvim)
|
||||
|
||||
### Issue I Encountered with Treesitter and Lua Syntax Highlighting
|
||||
I updated treesitter recently and ran into an issue with my lua file syntax highlighting. It seems
|
||||
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:
|
||||
|
||||
```bash
|
||||
:echo nvim_get_runtime_file('*/lua.so', v:true)
|
||||
```
|
||||
|
||||
And according to the output had to remove the lua parser from the homebrew install like so:
|
||||
|
||||
```bash
|
||||
rm -rf /opt/homebrew/Cellar/neovim/0.8.0/lib/nvim/parser/lua.so
|
||||
```
|
||||
|
||||
## Plugins
|
||||
#### Plugin Manager
|
||||
- [wbthomason/packer](https://github.com/wbthomason/packer.nvim) - Popular plugin manager
|
||||
|
|
Loading…
Reference in a new issue