To: vim_dev@googlegroups.com Subject: Patch 8.2.2522 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2522 Problem: Beancount filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes #7859) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.2521/runtime/filetype.vim 2021-01-24 15:25:50.749300869 +0100 --- runtime/filetype.vim 2021-02-17 12:22:56.635545515 +0100 *************** *** 216,221 **** --- 216,224 ---- " BDF font au BufNewFile,BufRead *.bdf setf bdf + " Beancount + au BufNewFile,BufRead *.beancount setf beancount + " BibTeX bibliography database file au BufNewFile,BufRead *.bib setf bib *** ../vim-8.2.2521/src/testdir/test_filetype.vim 2021-01-24 15:25:50.749300869 +0100 --- src/testdir/test_filetype.vim 2021-02-17 12:22:56.635545515 +0100 *************** *** 79,84 **** --- 79,85 ---- \ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'], \ 'bc': ['file.bc'], \ 'bdf': ['file.bdf'], + \ 'beancount': ['file.beancount'], \ 'bib': ['file.bib'], \ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 'any/bind/db.file', 'any/named/db.file'], \ 'blank': ['file.bl'], *** ../vim-8.2.2521/src/version.c 2021-02-16 22:22:08.115777605 +0100 --- src/version.c 2021-02-17 12:24:00.471398047 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2522, /**/ -- [SIR LAUNCELOT runs back up the stairs, grabs a rope of the wall and swings out over the heads of the CROWD in a swashbuckling manner towards a large window. He stops just short of the window and is left swing pathetically back and forth.] LAUNCELOT: Excuse me ... could somebody give me a push ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///