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:
committed by
Bram Moolenaar
parent
ea83c19462
commit
7c4516fe93
@@ -439,6 +439,9 @@ au BufNewFile,BufRead *.cook setf cook
|
|||||||
" needs to be inspected.
|
" needs to be inspected.
|
||||||
au BufNewFile,BufRead *.cql setf cqlang
|
au BufNewFile,BufRead *.cql setf cqlang
|
||||||
|
|
||||||
|
" Crystal
|
||||||
|
au BufNewFile,BufRead *.cr setf crystal
|
||||||
|
|
||||||
" CSV Files
|
" CSV Files
|
||||||
au BufNewFile,BufRead *.csv setf csv
|
au BufNewFile,BufRead *.csv setf csv
|
||||||
|
|
||||||
|
@@ -131,6 +131,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'],
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1415,
|
||||||
/**/
|
/**/
|
||||||
1414,
|
1414,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user