Merge pull request #22742 from clason/vim-9.0.1415

vim-patch:9.0.{1415,1417}: more files are not recognized
This commit is contained in:
Christian Clason 2023-03-20 22:04:13 +01:00 committed by GitHub
commit e789d65297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -265,6 +265,7 @@ local extension = {
end,
cql = 'cqlang',
crm = 'crm',
cr = 'crystal',
csx = 'cs',
cs = 'cs',
csc = 'csc',
@ -349,6 +350,7 @@ local extension = {
yaws = 'erlang',
erb = 'eruby',
rhtml = 'eruby',
esdl = 'esdl',
ec = 'esqlc',
EC = 'esqlc',
strl = 'esterel',

View File

@ -133,6 +133,7 @@ let s:filename_checks = {
\ 'cqlang': ['file.cql'],
\ 'crm': ['file.crm'],
\ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
\ 'crystal': ['file.cr'],
\ 'cs': ['file.cs', 'file.csx'],
\ 'csc': ['file.csc'],
\ 'csdl': ['file.csdl'],
@ -191,6 +192,7 @@ let s:filename_checks = {
\ 'epuppet': ['file.epp'],
\ 'erlang': ['file.erl', 'file.hrl', 'file.yaws'],
\ 'eruby': ['file.erb', 'file.rhtml'],
\ 'esdl': ['file.esdl'],
\ 'esmtprc': ['anyesmtprc', 'esmtprc', 'some-esmtprc'],
\ 'esqlc': ['file.ec', 'file.EC'],
\ 'esterel': ['file.strl'],