To: vim_dev@googlegroups.com Subject: Patch 8.2.4767 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4767 Problem: Openscad files are not recognized. Solution: Add a filetype pattern. (Niklas Adam, closes #10199) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.4766/runtime/filetype.vim 2022-04-13 15:29:11.671030940 +0100 --- runtime/filetype.vim 2022-04-16 21:29:56.644402096 +0100 *************** *** 1275,1280 **** --- 1275,1283 ---- " OPL au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl + " OpenSCAD + au BufNewFile,BufRead *.scad setf openscad + " Oracle config file au BufNewFile,BufRead *.ora setf ora *** ../vim-8.2.4766/src/testdir/test_filetype.vim 2022-04-16 21:14:00.093544559 +0100 --- src/testdir/test_filetype.vim 2022-04-16 21:29:56.644402096 +0100 *************** *** 384,389 **** --- 384,390 ---- \ 'omnimark': ['file.xom', 'file.xin'], \ 'opam': ['opam', 'file.opam', 'file.opam.template'], \ 'openroad': ['file.or'], + \ 'openscad': ['file.scad'], \ 'ora': ['file.ora'], \ 'org': ['file.org', 'file.org_archive'], \ 'pamconf': ['/etc/pam.conf', '/etc/pam.d/file', 'any/etc/pam.conf', 'any/etc/pam.d/file'], *** ../vim-8.2.4766/src/version.c 2022-04-16 21:14:00.097544559 +0100 --- src/version.c 2022-04-16 21:31:54.303676191 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4767, /**/ -- login: yes password: I don't know, please tell me password is incorrect login: yes password: incorrect /// 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 ///