Patch 9.0.0497
Problem:    LyRiCs files are not recognized.
Solution:   Add a pattern to detect LyRiCs files. (closes #11155)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0496/runtime/filetype.vim        2022-09-16 15:46:57.392979652 
+0100
--- runtime/filetype.vim        2022-09-18 12:43:12.788422035 +0100
***************
*** 448,453 ****
--- 448,456 ----
  " Lynx config files
  au BufNewFile,BufRead lynx.cfg                        setf lynx
  
+ " LyRiCs
+ au BufNewFile,BufRead *.lrc                   setf lyrics
+ 
  " Modula-3 configuration language (must be before *.cfg and *makefile)
  au BufNewFile,BufRead *.quake,cm3.cfg         setf m3quake
  au BufNewFile,BufRead m3makefile,m3overrides  setf m3build
*** ../vim-9.0.0496/src/testdir/test_filetype.vim       2022-09-16 
15:46:57.392979652 +0100
--- src/testdir/test_filetype.vim       2022-09-18 12:43:12.788422035 +0100
***************
*** 327,332 ****
--- 327,333 ----
      \ 'lss': ['file.lss'],
      \ 'lua': ['file.lua', 'file.rockspec', 'file.nse'],
      \ 'lynx': ['lynx.cfg'],
+     \ 'lyrics': ['file.lrc'],
      \ 'm3build': ['m3makefile', 'm3overrides'],
      \ 'm3quake': ['file.quake', 'cm3.cfg'],
      \ 'm4': ['file.at'],
*** ../vim-9.0.0496/src/version.c       2022-09-18 12:24:30.546430897 +0100
--- src/version.c       2022-09-18 12:44:31.132270398 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     497,
  /**/

-- 
I AM THANKFUL...
...for the taxes that I pay because it means that I am employed.

 /// 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/20220918114714.ADCB21C0846%40moolenaar.net.

Raspunde prin e-mail lui