vim-patch:8.2.4196: various file types not recognized (#17182)

Problem:    Various file types not recognized.
Solution:   Add patterns to recognize more file types (closes vim/vim#9607)
428058ab32
This commit is contained in:
dundargoc
2022-01-25 08:22:15 +01:00
committed by GitHub
parent 1b6ae2dbb0
commit ecec957125
3 changed files with 110 additions and 0 deletions

View File

@@ -223,23 +223,34 @@ local extension = {
fb = "freebasic",
fsi = "fsharp",
fsx = "fsharp",
fusion = "fusion",
gdmo = "gdmo",
mo = "gdmo",
tres = "gdresource",
tscn = "gdresource",
gd = "gdscript",
ged = "gedcom",
gmi = "gemtext",
gemini = "gemtext",
gift = "gift",
glsl = "glsl",
gpi = "gnuplot",
gnuplot = "gnuplot",
go = "go",
gp = "gp",
gs = "grads",
gql = "graphql",
graphql = "graphql",
graphqls = "graphql",
gretl = "gretl",
gradle = "groovy",
groovy = "groovy",
gsp = "gsp",
hack = "hack",
hackpartial = "hack",
haml = "haml",
hsm = "hamster",
hbs = "handlebars",
["hs-boot"] = "haskell",
hsig = "haskell",
hsc = "haskell",
@@ -251,8 +262,11 @@ local extension = {
errsum = "hercules",
ev = "hercules",
vc = "hercules",
hcl = "hcl",
heex = "heex",
hex = "hex",
["h32"] = "hex",
hjson = "hjson",
hog = "hog",
hws = "hollywood",
htt = "httest",
@@ -310,6 +324,9 @@ local extension = {
lte = "latte",
ld = "ld",
ldif = "ldif",
journal = "ledger",
ldg = "ledger",
ledger = "ledger",
less = "less",
lex = "lex",
lxx = "lex",
@@ -393,6 +410,7 @@ local extension = {
ncf = "ncf",
nginx = "nginx",
ninja = "ninja",
nix = "nix",
nqc = "nqc",
roff = "nroff",
tmac = "nroff",
@@ -427,6 +445,7 @@ local extension = {
pcmk = "pcmk",
pdf = "pdf",
plx = "perl",
prisma = "prisma",
psgi = "perl",
al = "perl",
ctp = "php",
@@ -470,6 +489,7 @@ local extension = {
["ps1xml"] = "ps1xml",
psf = "psf",
psl = "psl",
pug = "pug",
arr = "pyret",
pxd = "pyrex",
pyx = "pyrex",
@@ -477,6 +497,8 @@ local extension = {
py = "python",
pyi = "python",
ptl = "python",
ql = "ql",
qll = "ql",
rad = "radiance",
mat = "radiance",
["pod6"] = "raku",
@@ -613,6 +635,7 @@ local extension = {
mata = "stata",
ado = "stata",
stp = "stp",
sface = "surface",
svelte = "svelte",
svg = "svg",
swift = "swift",
@@ -626,6 +649,7 @@ local extension = {
itcl = "tcl",
tk = "tcl",
jacl = "tcl",
tl = "teal",
tmpl = "template",
ti = "terminfo",
dtx = "tex",
@@ -638,6 +662,8 @@ local extension = {
texinfo = "texinfo",
text = "text",
tf = "tf",
tfvars = "terraform",
tla = "tla",
tli = "tli",
toml = "toml",
tpp = "tpp",
@@ -725,6 +751,7 @@ local extension = {
yxx = "yacc",
yml = "yaml",
yaml = "yaml",
yang = "yang",
["z8a"] = "z8a",
zig = "zig",
zu = "zimbu",
@@ -900,6 +927,7 @@ local filename = {
[".gnashpluginrc"] = "gnash",
gnashpluginrc = "gnash",
gnashrc = "gnash",
["go.work"] = "gowork",
[".gprc"] = "gp",
["/.gnupg/gpg.conf"] = "gpg",
["/.gnupg/options"] = "gpg",