casey/tree-sitter-just

parsing is broken if backtick evaluated command contains {{

Open

#159 opened on Apr 26, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Just (39 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (192 stars)
PR merge metrics
 (PR metrics pending)

Description

Hello, thanks for this plugin. I've ran into the following issue with using backticks evaluation and curly braces:

Example:

cert-manager-version := `go list -f '{{ .Version }}' -m github.com/cert-manager/cert-manager`

The rest of the document after this line looks like is not parsed. It seems the problematic is the . character in the {{ }} block. If i try to move . the parsing seems to be working correctly.

Contributor guide