To: vim_dev@googlegroups.com Subject: Patch 9.0.0497 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///