From 235437cf3632a3cafe37ec1b22059e4b014a7aff Mon Sep 17 00:00:00 2001 From: Alexey <49844515+EnergoStalin@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:39:54 +0300 Subject: [PATCH] feat(mime-ext): add terraform types & remove duplicated js line (#31) Co-authored-by: sxyazi --- mime-ext.yazi/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mime-ext.yazi/init.lua b/mime-ext.yazi/init.lua index 3724308..3b6ad78 100644 --- a/mime-ext.yazi/init.lua +++ b/mime-ext.yazi/init.lua @@ -317,6 +317,7 @@ local EXTS = { h264 = "video/h264", hal = "application/vnd.hal+xml", hbci = "application/vnd.hbci", + hcl = "text/hcl", hdf = "application/x-hdf", hh = "text/c", hlp = "application/winhlp", @@ -376,7 +377,6 @@ local EXTS = { jpgv = "video/jpeg", jpm = "video/jpm", js = "text/javascript", - js = "text/javascript", json = "application/json", jsonc = "application/json", jsonml = "application/jsonml+json", @@ -819,8 +819,12 @@ local EXTS = { texi = "application/x-texinfo", texinfo = "application/x-texinfo", text = "text/plain", + tf = "text/hcl", tfi = "application/thraud+xml", tfm = "application/x-tex-tfm", + tfrc = "text/hcl", + tfstate = "application/json", + tfvars = "text/hcl", tga = "image/x-tga", thmx = "application/vnd.ms-officetheme", tif = "image/tiff",