mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0782: OpenVPN files are not recognized
Problem: OpenVPN files are not recognized. Solution: Add patterns for OpenVPN files. (closes #11391)
This commit is contained in:
committed by
Bram Moolenaar
parent
e6a16e9950
commit
4bf67ec52e
@@ -1960,6 +1960,10 @@ au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig
|
||||
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
|
||||
|
@@ -400,6 +400,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
782,
|
||||
/**/
|
||||
781,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user