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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221017142918.23B7E1C0363%40moolenaar.net.