To: vim_dev@googlegroups.com Subject: Patch 8.2.2203 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2203 Problem: Moodle gift files are not recognized. Solution: Add a filetype pattern. (Delim Temizer) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.2202/runtime/filetype.vim 2020-12-07 18:04:59.369997770 +0100 --- runtime/filetype.vim 2020-12-24 13:25:43.358147769 +0100 *************** *** 627,632 **** --- 627,635 ---- " Gedcom au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom + " Gift (Moodle) + autocmd BufRead,BufNewFile *.gift setf gift + " Git au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG setf gitcommit au BufNewFile,BufRead *.git/config,.gitconfig,/etc/gitconfig setf gitconfig *** ../vim-8.2.2202/src/testdir/test_filetype.vim 2020-12-08 20:39:11.361180690 +0100 --- src/testdir/test_filetype.vim 2020-12-24 13:26:24.586012057 +0100 *************** *** 185,190 **** --- 185,191 ---- \ 'gdb': ['.gdbinit'], \ 'gdmo': ['file.mo', 'file.gdmo'], \ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 'any/tmp/lltmp', 'any/tmp/lltmp-file'], + \ 'gift': ['file.gift'], \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'], \ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig', '/etc/gitconfig.d/file', '/.gitconfig.d/file', 'any/.config/git/config', 'any/.gitconfig.d/file', 'some.git/config', 'some.git/modules/any/config'], \ 'gitolite': ['gitolite.conf', '/gitolite-admin/conf/file', 'any/gitolite-admin/conf/file'], *** ../vim-8.2.2202/src/version.c 2020-12-23 22:40:08.135122598 +0100 --- src/version.c 2020-12-24 13:27:10.973859410 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2203, /**/ -- Q: What is the difference between open-source and commercial software? A: If you have a problem with commercial software you can call a phone number and they will tell you it might be solved in a future version. For open-source software there isn't a phone number to call, but you get the solution within a day. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///