To: vim_dev@googlegroups.com Subject: Patch 8.2.0589 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0589 Problem: .bsd file type not recognized. Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.0588/runtime/filetype.vim 2020-04-12 12:54:23.027769131 +0200 --- runtime/filetype.vim 2020-04-17 19:18:14.436287476 +0200 *************** *** 234,246 **** au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " BSDL ! au BufNewFile,BufRead *.bsdl setf bsdl " Bazel (http://bazel.io) autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl if has("fname_case") " There is another check for BUILD further below. ! autocmd BufRead,BufNewFile BUILD setf bzl endif " C or lpc --- 234,246 ---- au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " BSDL ! au BufNewFile,BufRead *bsd,*.bsdl setf bsdl " Bazel (http://bazel.io) autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl if has("fname_case") " There is another check for BUILD further below. ! autocmd BufRead,BufNewFile BUILD setf bzl endif " C or lpc *** ../vim-8.2.0588/src/testdir/test_filetype.vim 2020-04-12 12:54:23.027769131 +0200 --- src/testdir/test_filetype.vim 2020-04-17 19:18:53.452143252 +0200 *************** *** 79,85 **** \ 'bib': ['file.bib'], \ 'bindzone': ['named.root'], \ 'blank': ['file.bl'], ! \ 'bsdl': ['file.bsdl'], \ 'bst': ['file.bst'], \ 'bzr': ['bzr_log.any'], \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'], --- 79,85 ---- \ 'bib': ['file.bib'], \ 'bindzone': ['named.root'], \ 'blank': ['file.bl'], ! \ 'bsdl': ['file.bsd', 'file.bsdl'], \ 'bst': ['file.bst'], \ 'bzr': ['bzr_log.any'], \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'], *** ../vim-8.2.0588/src/version.c 2020-04-17 16:40:27.994627345 +0200 --- src/version.c 2020-04-17 19:21:59.247493132 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 589, /**/ -- Never under any circumstances take a sleeping pill and a laxative on the same night. /// 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 ///