From: ObserverOfTime Date: Sun, 18 Sep 2022 11:46:22 +0000 (+0100) Subject: patch 9.0.0497: LyRiCs files are not recognized X-Git-Tag: v9.0.0497 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65ee49decf5677690cd695d5d288e39344965fff;p=vim patch 9.0.0497: LyRiCs files are not recognized Problem: LyRiCs files are not recognized. Solution: Add a pattern to detect LyRiCs files. (closes #11155) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index aac17aad0..e7191441d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -448,6 +448,9 @@ endif " 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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index bf0fdd601..fa641f1db 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -327,6 +327,7 @@ let s:filename_checks = { \ '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'], diff --git a/src/version.c b/src/version.c index c01250257..e4c8ce5e0 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 497, /**/ 496, /**/