ngalaiko / tree-sitter-go-template

Golang template grammar for tree-sitter
MIT License
88 stars 29 forks source link

Possible mistake in installation documentation #14

Closed Mo0rBy closed 10 months ago

Mo0rBy commented 10 months ago

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 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.

Mo0rBy commented 10 months ago

Doesn't matter I thing my treesitter wasn't loaded and I was being daft.