terraform syntax is not detected automatically
❯ highlight versions.tf -v
Loading language definition:
/opt/homebrew/Cellar/highlight/4.13/share/highlight/langDefs/txt.lang
Description: Plain text
terraform {
required_providers {
mycloud = {
source = "mycorp/mycloud"
version = "~> 1.0"
}
}
}
I can see there is no associated file extention:
❯ highlight --list-scripts=langs | grep terraf
Terraform : terraform
But somehow it works for go, for which there is no explicit extention set