Patch 9.0.1415

1 view
Skip to first unread message

Bram Moolenaar

unread,
Mar 19, 2023, 4:44:21 PM3/19/23
to vim...@googlegroups.com

Patch 9.0.1415
Problem: Crystal files are not recognized.
Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes #12175)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1414/runtime/filetype.vim 2023-03-17 18:42:54.378940647 +0000
--- runtime/filetype.vim 2023-03-19 20:40:21.957153205 +0000
***************
*** 439,444 ****
--- 439,447 ----
" 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

*** ../vim-9.0.1414/src/testdir/test_filetype.vim 2023-03-17 18:42:54.378940647 +0000
--- src/testdir/test_filetype.vim 2023-03-19 20:40:21.957153205 +0000
***************
*** 131,136 ****
--- 131,137 ----
\ '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'],
*** ../vim-9.0.1414/src/version.c 2023-03-18 17:22:42.518645582 +0000
--- src/version.c 2023-03-19 20:41:02.845143224 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1415,
/**/

--
GALAHAD: No look, really, this isn't nescess ...
PIGLET: We must examine you.
GALAHAD: There's nothing wrong with ... that.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages