To: vim_dev@googlegroups.com Subject: Patch 8.2.4790 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4790 Problem: Lilypond filetype not recognized. Solution: Add patterns for lilypond. (Doug Kearns) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.4789/runtime/filetype.vim 2022-04-18 14:32:39.654029925 +0100 --- runtime/filetype.vim 2022-04-19 15:25:34.594092460 +0100 *************** *** 1017,1022 **** --- 1017,1025 ---- " Lilo: Linux loader au BufNewFile,BufRead lilo.conf setf lilo + " Lilypond + au BufNewFile,BufRead *.ly,*.ily setf lilypond + " Lisp (*.el = ELisp, *.cl = Common Lisp) " *.jl was removed, it's also used for Julia, better skip than guess wrong. if has("fname_case") *** ../vim-8.2.4789/src/testdir/test_filetype.vim 2022-04-18 14:32:39.654029925 +0100 --- src/testdir/test_filetype.vim 2022-04-19 15:25:34.594092460 +0100 *************** *** 306,311 **** --- 306,312 ---- \ 'libao': ['/etc/libao.conf', '/.libao', 'any/.libao', 'any/etc/libao.conf'], \ 'lifelines': ['file.ll'], \ 'lilo': ['lilo.conf', 'lilo.conf-file'], + \ 'lilypond': ['file.ly', 'file.ily'], \ 'limits': ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf', '/etc/limits.conf', '/etc/limits.d/file.conf', '/etc/some-limits.conf', '/etc/some-limits.d/file.conf', 'any/etc/limits', 'any/etc/limits.conf', 'any/etc/limits.d/file.conf', 'any/etc/some-limits.conf', 'any/etc/some-limits.d/file.conf'], \ 'liquid': ['file.liquid'], \ 'lisp': ['file.lsp', 'file.lisp', 'file.asd', 'file.el', 'file.cl', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc'], *** ../vim-8.2.4789/src/version.c 2022-04-19 11:38:01.484066480 +0100 --- src/version.c 2022-04-19 15:29:37.561949656 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4790, /**/ -- How To Keep A Healthy Level Of Insanity: 8. Don't use any punctuation marks. /// 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 ///