0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

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 #12175)
This commit is contained in:
Amaan Qureshi
2023-03-19 20:43:26 +00:00
committed by Bram Moolenaar
parent ea83c19462
commit 7c4516fe93
3 changed files with 6 additions and 0 deletions

View File

@@ -439,6 +439,9 @@ au BufNewFile,BufRead *.cook setf cook
" needs to be inspected.
au BufNewFile,BufRead *.cql setf cqlang
" Crystal
au BufNewFile,BufRead *.cr setf crystal
" CSV Files
au BufNewFile,BufRead *.csv setf csv

View File

@@ -131,6 +131,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'],

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1415,
/**/
1414,
/**/