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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 110 additions and 0 deletions

View File

@ -650,6 +650,9 @@ au BufNewFile,BufRead *.fsl setf framescript
" FStab " FStab
au BufNewFile,BufRead fstab,mtab setf fstab au BufNewFile,BufRead fstab,mtab setf fstab
" Fusion
au BufRead,BufNewFile *.fusion setf fusion
" F# or Forth " F# or Forth
au BufNewFile,BufRead *.fs call dist#ft#FTfs() au BufNewFile,BufRead *.fs call dist#ft#FTfs()
@ -662,6 +665,12 @@ au BufNewFile,BufRead .gdbinit,gdbinit setf gdb
" GDMO " GDMO
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
" GDscript
au BufNewFile,BufRead *.gd setf gdscript
" Godot resource
au BufRead,BufNewFile *.tscn,*.tres setf gdresource
" Gedcom " Gedcom
au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
@ -692,6 +701,9 @@ au BufNewFile,BufRead *.git/*
" Gkrellmrc " Gkrellmrc
au BufNewFile,BufRead gkrellmrc,gkrellmrc_? setf gkrellmrc au BufNewFile,BufRead gkrellmrc,gkrellmrc_? setf gkrellmrc
" GLSL
au BufNewFile,BufRead *.glsl setf glsl
" GP scripts (2.0 and onward) " GP scripts (2.0 and onward)
au BufNewFile,BufRead *.gp,.gprc setf gp au BufNewFile,BufRead *.gp,.gprc setf gp
@ -717,10 +729,14 @@ au BufNewFile,BufRead *.gpi,.gnuplot setf gnuplot
" Go (Google) " Go (Google)
au BufNewFile,BufRead *.go setf go au BufNewFile,BufRead *.go setf go
au BufNewFile,BufRead Gopkg.lock setf toml au BufNewFile,BufRead Gopkg.lock setf toml
au BufRead,BufNewFile go.work setf gowork
" GrADS scripts " GrADS scripts
au BufNewFile,BufRead *.gs setf grads au BufNewFile,BufRead *.gs setf grads
" GraphQL
au BufNewFile,BufRead *.graphql,*.graphqls,*.gql setf graphql
" Gretl " Gretl
au BufNewFile,BufRead *.gretl setf gretl au BufNewFile,BufRead *.gretl setf gretl
@ -736,12 +752,18 @@ au BufNewFile,BufRead */etc/group,*/etc/group-,*/etc/group.edit,*/etc/gshadow,*/
" GTK RC " GTK RC
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
" Hack
au BufRead,BufNewFile *.hack,*.hackpartial setf hack
" Haml " Haml
au BufNewFile,BufRead *.haml setf haml au BufNewFile,BufRead *.haml setf haml
" Hamster Classic | Playground files " Hamster Classic | Playground files
au BufNewFile,BufRead *.hsm setf hamster au BufNewFile,BufRead *.hsm setf hamster
" Handlebars
au BufNewFile,BufRead *.hbs setf handlebars
" Haskell " Haskell
au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot,*.hsig setf haskell
au BufNewFile,BufRead *.lhs setf lhaskell au BufNewFile,BufRead *.lhs setf lhaskell
@ -754,12 +776,21 @@ au BufNewFile,BufRead cabal.config setf cabalconfig
au BufNewFile,BufRead *.ht setf haste au BufNewFile,BufRead *.ht setf haste
au BufNewFile,BufRead *.htpp setf hastepreproc au BufNewFile,BufRead *.htpp setf hastepreproc
" HCL
au BufRead,BufNewFile *.hcl setf hcl
" Hercules " Hercules
au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules au BufNewFile,BufRead *.vc,*.ev,*.sum,*.errsum setf hercules
" HEEx
au BufRead,BufNewFile *.heex setf heex
" HEX (Intel) " HEX (Intel)
au BufNewFile,BufRead *.hex,*.h32 setf hex au BufNewFile,BufRead *.hex,*.h32 setf hex
" Hjson
au BufNewFile,BufRead *.hjson setf hjson
" Hollywood " Hollywood
au BufRead,BufNewFile *.hws setf hollywood au BufRead,BufNewFile *.hws setf hollywood
@ -938,6 +969,9 @@ au BufNewFile,BufRead *.ldif setf ldif
" Ld loader " Ld loader
au BufNewFile,BufRead *.ld setf ld au BufNewFile,BufRead *.ld setf ld
" Ledger
au BufRead,BufNewFile *.ldg,*.ledger,*.journal setf ledger
" Less " Less
au BufNewFile,BufRead *.less setf less au BufNewFile,BufRead *.less setf less
@ -1175,6 +1209,9 @@ au BufNewFile,BufRead *.nginx,nginx*.conf,*nginx.conf,*/etc/nginx/*,*/usr/local/
" Ninja file " Ninja file
au BufNewFile,BufRead *.ninja setf ninja au BufNewFile,BufRead *.ninja setf ninja
" Nix
au BufRead,BufNewFile *.nix setf nix
" NPM RC file " NPM RC file
au BufNewFile,BufRead npmrc,.npmrc setf dosini au BufNewFile,BufRead npmrc,.npmrc setf dosini
@ -1360,6 +1397,9 @@ au BufNewFile,BufRead *printcap
au BufNewFile,BufRead *termcap au BufNewFile,BufRead *termcap
\ let b:ptcap_type = "term" | setf ptcap \ let b:ptcap_type = "term" | setf ptcap
" Prisma
au BufRead,BufNewFile *.prisma setf prisma
" PCCTS / ANTLR " PCCTS / ANTLR
"au BufNewFile,BufRead *.g setf antlr "au BufNewFile,BufRead *.g setf antlr
au BufNewFile,BufRead *.g setf pccts au BufNewFile,BufRead *.g setf pccts
@ -1367,6 +1407,9 @@ au BufNewFile,BufRead *.g setf pccts
" PPWizard " PPWizard
au BufNewFile,BufRead *.it,*.ih setf ppwiz au BufNewFile,BufRead *.it,*.ih setf ppwiz
" Pug
au BufRead,BufNewFile *.pug setf pug
" Puppet " Puppet
au BufNewFile,BufRead Puppetfile setf ruby au BufNewFile,BufRead Puppetfile setf ruby
@ -1432,6 +1475,9 @@ au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python
au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
" QL
au BufRead,BufNewFile *.ql,*.qll setf ql
" Radiance " Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance au BufNewFile,BufRead *.rad,*.mat setf radiance
@ -1836,6 +1882,9 @@ au BufNewFile,BufRead */etc/sudoers,sudoers.tmp setf sudoers
" SVG (Scalable Vector Graphics) " SVG (Scalable Vector Graphics)
au BufNewFile,BufRead *.svg setf svg au BufNewFile,BufRead *.svg setf svg
" Surface
au BufRead,BufNewFile *.sface setf surface
" Tads (or Nroff or Perl test file) " Tads (or Nroff or Perl test file)
au BufNewFile,BufRead *.t au BufNewFile,BufRead *.t
\ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif \ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif
@ -1853,6 +1902,9 @@ au BufRead,BufNewFile *.task setf taskedit
" Tcl (JACL too) " Tcl (JACL too)
au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc setf tcl au BufNewFile,BufRead *.tcl,*.tm,*.tk,*.itcl,*.itk,*.jacl,.tclshrc,.wishrc setf tcl
" Teal
au BufRead,BufNewFile *.tl setf teal
" TealInfo " TealInfo
au BufNewFile,BufRead *.tli setf tli au BufNewFile,BufRead *.tli setf tli
@ -1870,6 +1922,9 @@ au BufRead,BufNewFile *.ttl
" Terminfo " Terminfo
au BufNewFile,BufRead *.ti setf terminfo au BufNewFile,BufRead *.ti setf terminfo
" Terraform
au BufRead,BufNewFile *.tfvars setf terraform
" TeX " TeX
au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex
au BufNewFile,BufRead *.tex call dist#ft#FTtex() au BufNewFile,BufRead *.tex call dist#ft#FTtex()
@ -1889,6 +1944,9 @@ au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
" TF mud client " TF mud client
au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf
" TLA+
au BufRead,BufNewFile *.tla setf tla
" tmux configuration " tmux configuration
au BufNewFile,BufRead {.,}tmux*.conf setf tmux au BufNewFile,BufRead {.,}tmux*.conf setf tmux
@ -2150,6 +2208,9 @@ au BufNewFile,BufRead *.raml setf raml
" yum conf (close enough to dosini) " yum conf (close enough to dosini)
au BufNewFile,BufRead */etc/yum.conf setf dosini au BufNewFile,BufRead */etc/yum.conf setf dosini
" YANG
au BufRead,BufNewFile *.yang setf yang
" Zimbu " Zimbu
au BufNewFile,BufRead *.zu setf zimbu au BufNewFile,BufRead *.zu setf zimbu
" Zimbu Templates " Zimbu Templates

View File

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

View File

@ -190,8 +190,11 @@ let s:filename_checks = {
\ 'freebasic': ['file.fb'], \ 'freebasic': ['file.fb'],
\ 'fsharp': ['file.fs', 'file.fsi', 'file.fsx'], \ 'fsharp': ['file.fs', 'file.fsi', 'file.fsx'],
\ 'fstab': ['fstab', 'mtab'], \ 'fstab': ['fstab', 'mtab'],
\ 'fusion': ['file.fusion'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'], \ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
\ 'gdb': ['.gdbinit', 'gdbinit'], \ 'gdb': ['.gdbinit', 'gdbinit'],
\ 'gdresource': ['file.tscn', 'file.tres'],
\ 'gdscript': ['file.gd'],
\ 'gdmo': ['file.mo', 'file.gdmo'], \ 'gdmo': ['file.mo', 'file.gdmo'],
\ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 'any/tmp/lltmp', 'any/tmp/lltmp-file'], \ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 'any/tmp/lltmp', 'any/tmp/lltmp-file'],
\ 'gemtext': ['file.gmi', 'file.gemini'], \ 'gemtext': ['file.gmi', 'file.gemini'],
@ -202,28 +205,36 @@ let s:filename_checks = {
\ 'gitrebase': ['git-rebase-todo'], \ 'gitrebase': ['git-rebase-todo'],
\ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'],
\ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'], \ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'],
\ 'glsl': ['file.glsl'],
\ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'], \ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
\ 'gnuplot': ['file.gpi', '.gnuplot'], \ 'gnuplot': ['file.gpi', '.gnuplot'],
\ 'go': ['file.go'], \ 'go': ['file.go'],
\ 'gomod': ['go.mod'], \ 'gomod': ['go.mod'],
\ 'gowork': ['go.work'],
\ 'gp': ['file.gp', '.gprc'], \ 'gp': ['file.gp', '.gprc'],
\ 'gpg': ['/.gnupg/options', '/.gnupg/gpg.conf', '/usr/any/gnupg/options.skel', 'any/.gnupg/gpg.conf', 'any/.gnupg/options', 'any/usr/any/gnupg/options.skel'], \ 'gpg': ['/.gnupg/options', '/.gnupg/gpg.conf', '/usr/any/gnupg/options.skel', 'any/.gnupg/gpg.conf', 'any/.gnupg/options', 'any/usr/any/gnupg/options.skel'],
\ 'grads': ['file.gs'], \ 'grads': ['file.gs'],
\ 'graphql': ['file.graphql', 'file.graphqls', 'file.gql'],
\ 'gretl': ['file.gretl'], \ 'gretl': ['file.gretl'],
\ 'groovy': ['file.gradle', 'file.groovy'], \ 'groovy': ['file.gradle', 'file.groovy'],
\ 'group': ['any/etc/group', 'any/etc/group-', 'any/etc/group.edit', 'any/etc/gshadow', 'any/etc/gshadow-', 'any/etc/gshadow.edit', 'any/var/backups/group.bak', 'any/var/backups/gshadow.bak', '/etc/group', '/etc/group-', '/etc/group.edit', '/etc/gshadow', '/etc/gshadow-', '/etc/gshadow.edit', '/var/backups/group.bak', '/var/backups/gshadow.bak'], \ 'group': ['any/etc/group', 'any/etc/group-', 'any/etc/group.edit', 'any/etc/gshadow', 'any/etc/gshadow-', 'any/etc/gshadow.edit', 'any/var/backups/group.bak', 'any/var/backups/gshadow.bak', '/etc/group', '/etc/group-', '/etc/group.edit', '/etc/gshadow', '/etc/gshadow-', '/etc/gshadow.edit', '/var/backups/group.bak', '/var/backups/gshadow.bak'],
\ 'grub': ['/boot/grub/menu.lst', '/boot/grub/grub.conf', '/etc/grub.conf', 'any/boot/grub/grub.conf', 'any/boot/grub/menu.lst', 'any/etc/grub.conf'], \ 'grub': ['/boot/grub/menu.lst', '/boot/grub/grub.conf', '/etc/grub.conf', 'any/boot/grub/grub.conf', 'any/boot/grub/menu.lst', 'any/etc/grub.conf'],
\ 'gsp': ['file.gsp'], \ 'gsp': ['file.gsp'],
\ 'gtkrc': ['.gtkrc', 'gtkrc', '.gtkrc-file', 'gtkrc-file'], \ 'gtkrc': ['.gtkrc', 'gtkrc', '.gtkrc-file', 'gtkrc-file'],
\ 'hack': ['file.hack', 'file.hackpartial'],
\ 'haml': ['file.haml'], \ 'haml': ['file.haml'],
\ 'hamster': ['file.hsm'], \ 'hamster': ['file.hsm'],
\ 'handlebars': ['file.hbs'],
\ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot', 'file.hsig'], \ 'haskell': ['file.hs', 'file.hsc', 'file.hs-boot', 'file.hsig'],
\ 'haste': ['file.ht'], \ 'haste': ['file.ht'],
\ 'hastepreproc': ['file.htpp'], \ 'hastepreproc': ['file.htpp'],
\ 'hb': ['file.hb'], \ 'hb': ['file.hb'],
\ 'hcl': ['file.hcl'],
\ 'hercules': ['file.vc', 'file.ev', 'file.sum', 'file.errsum'], \ 'hercules': ['file.vc', 'file.ev', 'file.sum', 'file.errsum'],
\ 'heex': ['file.heex'],
\ 'hex': ['file.hex', 'file.h32'], \ 'hex': ['file.hex', 'file.h32'],
\ 'hgcommit': ['hg-editor-file.txt'], \ 'hgcommit': ['hg-editor-file.txt'],
\ 'hjson': ['file.hjson'],
\ 'hog': ['file.hog', 'snort.conf', 'vision.conf'], \ 'hog': ['file.hog', 'snort.conf', 'vision.conf'],
\ 'hollywood': ['file.hws'], \ 'hollywood': ['file.hws'],
\ 'hostconf': ['/etc/host.conf', 'any/etc/host.conf'], \ 'hostconf': ['/etc/host.conf', 'any/etc/host.conf'],
@ -279,6 +290,7 @@ let s:filename_checks = {
\ 'latte': ['file.latte', 'file.lte'], \ 'latte': ['file.latte', 'file.lte'],
\ 'ld': ['file.ld'], \ 'ld': ['file.ld'],
\ 'ldif': ['file.ldif'], \ 'ldif': ['file.ldif'],
\ 'ledger': ['file.ldg', 'file.ledger', 'file.journal'],
\ 'less': ['file.less'], \ 'less': ['file.less'],
\ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'], \ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'],
\ 'lftp': ['lftp.conf', '.lftprc', 'anylftp/rc', 'lftp/rc', 'some-lftp/rc'], \ 'lftp': ['lftp.conf', '.lftprc', 'anylftp/rc', 'lftp/rc', 'some-lftp/rc'],
@ -352,6 +364,7 @@ let s:filename_checks = {
\ 'netrc': ['.netrc'], \ 'netrc': ['.netrc'],
\ 'nginx': ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'], \ 'nginx': ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'],
\ 'ninja': ['file.ninja'], \ 'ninja': ['file.ninja'],
\ 'nix': ['file.nix'],
\ 'nqc': ['file.nqc'], \ 'nqc': ['file.nqc'],
\ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'], \ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 'tmac.file'],
\ 'nsis': ['file.nsi', 'file.nsh'], \ 'nsis': ['file.nsi', 'file.nsh'],
@ -394,6 +407,7 @@ let s:filename_checks = {
\ 'ppd': ['file.ppd'], \ 'ppd': ['file.ppd'],
\ 'ppwiz': ['file.it', 'file.ih'], \ 'ppwiz': ['file.it', 'file.ih'],
\ 'privoxy': ['file.action'], \ 'privoxy': ['file.action'],
\ 'prisma': ['file.prisma'],
\ 'proc': ['file.pc'], \ 'proc': ['file.pc'],
\ 'procmail': ['.procmail', '.procmailrc'], \ 'procmail': ['.procmail', '.procmailrc'],
\ 'prolog': ['file.pdb'], \ 'prolog': ['file.pdb'],
@ -404,10 +418,12 @@ let s:filename_checks = {
\ 'ps1xml': ['file.ps1xml'], \ 'ps1xml': ['file.ps1xml'],
\ 'psf': ['file.psf'], \ 'psf': ['file.psf'],
\ 'psl': ['file.psl'], \ 'psl': ['file.psl'],
\ 'pug': ['file.pug'],
\ 'puppet': ['file.pp'], \ 'puppet': ['file.pp'],
\ 'pyret': ['file.arr'], \ 'pyret': ['file.arr'],
\ 'pyrex': ['file.pyx', 'file.pxd'], \ 'pyrex': ['file.pyx', 'file.pxd'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'], \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
\ 'ql': ['file.ql', 'file.qll'],
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'], \ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'],
\ 'radiance': ['file.rad', 'file.mat'], \ 'radiance': ['file.rad', 'file.mat'],
\ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'], \ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
@ -489,6 +505,7 @@ let s:filename_checks = {
\ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'], \ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
\ 'stp': ['file.stp'], \ 'stp': ['file.stp'],
\ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'], \ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'],
\ 'surface': ['file.sface'],
\ 'svg': ['file.svg'], \ 'svg': ['file.svg'],
\ 'svn': ['svn-commitfile.tmp', 'svn-commit-file.tmp', 'svn-commit.tmp'], \ 'svn': ['svn-commitfile.tmp', 'svn-commit-file.tmp', 'svn-commit.tmp'],
\ 'swift': ['file.swift'], \ 'swift': ['file.swift'],
@ -502,8 +519,10 @@ let s:filename_checks = {
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
\ 'taskedit': ['file.task'], \ 'taskedit': ['file.task'],
\ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'], \ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'],
\ 'teal': ['file.tl'],
\ 'teraterm': ['file.ttl'], \ 'teraterm': ['file.ttl'],
\ 'terminfo': ['file.ti'], \ 'terminfo': ['file.ti'],
\ 'terraform': ['file.tfvars'],
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'], \ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
\ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'], \ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'],
\ 'texmf': ['texmf.cnf'], \ 'texmf': ['texmf.cnf'],
@ -511,6 +530,7 @@ let s:filename_checks = {
\ 'tf': ['file.tf', '.tfrc', 'tfrc'], \ 'tf': ['file.tf', '.tfrc', 'tfrc'],
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'], \ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
\ 'tilde': ['file.t.html'], \ 'tilde': ['file.t.html'],
\ 'tla': ['file.tla'],
\ 'tli': ['file.tli'], \ 'tli': ['file.tli'],
\ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf', 'tmux.conf.local'], \ 'tmux': ['tmuxfile.conf', '.tmuxfile.conf', '.tmux-file.conf', '.tmux.conf', 'tmux-file.conf', 'tmux.conf', 'tmux.conf.local'],
\ 'toml': ['file.toml', 'Gopkg.lock', 'Pipfile', '/home/user/.cargo/config'], \ 'toml': ['file.toml', 'Gopkg.lock', 'Pipfile', '/home/user/.cargo/config'],
@ -571,6 +591,7 @@ let s:filename_checks = {
\ 'xslt': ['file.xsl', 'file.xslt'], \ 'xslt': ['file.xsl', 'file.xslt'],
\ 'yacc': ['file.yy', 'file.yxx', 'file.y++'], \ 'yacc': ['file.yy', 'file.yxx', 'file.y++'],
\ 'yaml': ['file.yaml', 'file.yml'], \ 'yaml': ['file.yaml', 'file.yml'],
\ 'yang': ['file.yang'],
\ 'raml': ['file.raml'], \ 'raml': ['file.raml'],
\ 'z8a': ['file.z8a'], \ 'z8a': ['file.z8a'],
\ 'zig': ['file.zig'], \ 'zig': ['file.zig'],