fix: grammar compilation should use grammar name

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-09-21 11:39:34 -05:00
parent 57011c28a5
commit 47e27a700d
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
mkdir .helix
cat << EOF > .helix/languages.toml
use-grammars = { only = ["templ"] }
use-grammars = { only = ["${grammar.name}"] }
[[grammar]]
name = "${grammar.name}"
source = { git = "${grammar.url}", rev = "${grammar.rev}" }