From b5ed50bc336f9c0c5baf7a7ddc537965c9a5df1a Mon Sep 17 00:00:00 2001 From: Josean Martinez <114825290+josean-dev@users.noreply.github.com> Date: Sat, 5 Nov 2022 18:27:11 -0400 Subject: [PATCH] Made description of lua parser error more concise --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cb590bd..c0de3b7 100644 --- a/README.md +++ b/README.md @@ -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