I tried to follow the documentation to install this gotmpl parser and I got a stuck for a few minutes but thankfully found the fix to my problem.
In the README.md there is this line:
"Run :TSInstallFromGrammar gotmpl to download and compile the grammar into your tree-sitter installation"
This command didnt work for me. I found an open issue on the nvim-treesitter repo and found that the OP used this command: :TSInstall lua_neo. So I used :TSInstall gotmpl and it worked.
However, with this said, now the original command in README.md now prompts me reinstall the gotmpl parser, so maybe I'm just being daft, but I thought it was still worth putting this here in case anyone else ran into this issue.
Hi,
I tried to follow the documentation to install this
gotmpl
parser and I got a stuck for a few minutes but thankfully found the fix to my problem.In the
README.md
there is this line:"Run
:TSInstallFromGrammar gotmpl
to download and compile the grammar into your tree-sitter installation"This command didnt work for me. I found an open issue on the
nvim-treesitter
repo and found that the OP used this command::TSInstall lua_neo
. So I used:TSInstall gotmpl
and it worked.However, with this said, now the original command in
README.md
now prompts me reinstall thegotmpl
parser, so maybe I'm just being daft, but I thought it was still worth putting this here in case anyone else ran into this issue.