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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230319204416.C91731C14CC%40moolenaar.net.

Raspunde prin e-mail lui