vim-patch:9.0.1415: Crystal files are not recognized

Problem:    Crystal files are not recognized.
Solution:   Add a pattern for Crystal files. (Amaan Qureshi, closes vim/vim#12175)

7c4516fe93

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
Christian Clason
2023-03-20 21:07:09 +01:00
parent 4cba53e09e
commit d11986171b
2 changed files with 2 additions and 0 deletions

View File

@@ -265,6 +265,7 @@ local extension = {
end, end,
cql = 'cqlang', cql = 'cqlang',
crm = 'crm', crm = 'crm',
cr = 'crystal',
csx = 'cs', csx = 'cs',
cs = 'cs', cs = 'cs',
csc = 'csc', csc = 'csc',

View File

@@ -133,6 +133,7 @@ let s:filename_checks = {
\ 'cqlang': ['file.cql'], \ 'cqlang': ['file.cql'],
\ 'crm': ['file.crm'], \ 'crm': ['file.crm'],
\ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'], \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
\ 'crystal': ['file.cr'],
\ 'cs': ['file.cs', 'file.csx'], \ 'cs': ['file.cs', 'file.csx'],
\ 'csc': ['file.csc'], \ 'csc': ['file.csc'],
\ 'csdl': ['file.csdl'], \ 'csdl': ['file.csdl'],