@b4n commented on this pull request.


> @@ -18,6 +18,9 @@ mkdir -p "$CONFDIR/filedefs/" || exit 99
 # are no extension patterns, like e.g. Meson.
 sed 
's/^\([^=[]\{1,\}\)\(=[^;]\{1,\}\(;[^;]\{1,\}\)*\);*$/\1\2;*.\1_unittest;/' \
   < "${top_srcdir:-../..}"/data/filetype_extensions.conf > 
"$CONFDIR/filetype_extensions.conf" || exit 99
+# add HCL filetype extension for the Terraform parser test (HCL is not an 
official Geany filetype)
+echo 'HCL=*.tf;*.tfvars;*.hcl;' >> "$CONFDIR/filetype_extensions.conf"

As @techee said, why not add the filetype? Is it of too poor quality and cannot 
be made better, or is it a question of how much the language is spread?
If it's useful I don't see why not adding it ptoperly rather than adding a hack 
like that :)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4237#discussion_r1948536151
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4237/review/[email protected]>

Reply via email to