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 sshd_config setf sshdconfig
|
||||||
au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf 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
|
" Stata
|
||||||
au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata
|
au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata
|
||||||
" Also *.class, but not when it's a Java bytecode file
|
" 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'],
|
\ 'opam': ['opam', 'file.opam', 'file.opam.template'],
|
||||||
\ 'openroad': ['file.or'],
|
\ 'openroad': ['file.or'],
|
||||||
\ 'openscad': ['file.scad'],
|
\ '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'],
|
\ 'opl': ['file.OPL', 'file.OPl', 'file.OpL', 'file.Opl', 'file.oPL', 'file.oPl', 'file.opL', 'file.opl'],
|
||||||
\ 'ora': ['file.ora'],
|
\ 'ora': ['file.ora'],
|
||||||
\ 'org': ['file.org', 'file.org_archive'],
|
\ 'org': ['file.org', 'file.org_archive'],
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
782,
|
||||||
/**/
|
/**/
|
||||||
781,
|
781,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user