To: vim_dev@googlegroups.com Subject: Patch 9.0.0782 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0782 Problem: OpenVPN files are not recognized. Solution: Add patterns for OpenVPN files. (closes #11391) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0781/runtime/filetype.vim 2022-10-17 13:32:13.677965004 +0100 --- runtime/filetype.vim 2022-10-17 15:26:39.443502542 +0100 *************** *** 1960,1965 **** --- 1960,1969 ---- au BufNewFile,BufRead sshd_config setf sshdconfig au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf setf sshdconfig + " OpenVPN configuration + au BufNewFile,BufRead *.ovpn setf openvpn + au BufNewFile,BufRead */openvpn/*/*.conf setf openvpn + " Stata au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata " Also *.class, but not when it's a Java bytecode file *** ../vim-9.0.0781/src/testdir/test_filetype.vim 2022-10-17 13:32:13.677965004 +0100 --- src/testdir/test_filetype.vim 2022-10-17 15:26:39.443502542 +0100 *************** *** 400,405 **** --- 400,406 ---- \ 'opam': ['opam', 'file.opam', 'file.opam.template'], \ 'openroad': ['file.or'], \ 'openscad': ['file.scad'], + \ 'openvpn': ['file.ovpn', '/etc/openvpn/client/client.conf', '/usr/share/openvpn/examples/server.conf'], \ 'opl': ['file.OPL', 'file.OPl', 'file.OpL', 'file.Opl', 'file.oPL', 'file.oPl', 'file.opL', 'file.opl'], \ 'ora': ['file.ora'], \ 'org': ['file.org', 'file.org_archive'], *** ../vim-9.0.0781/src/version.c 2022-10-17 14:51:31.698963477 +0100 --- src/version.c 2022-10-17 15:28:32.127672865 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 782, /**/ -- Females are strictly forbidden to appear unshaven in public. [real standing law in New Mexico, United States of America] /// 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 ///