mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1346: Starlark files are not recognized
Problem: Starlark files are not recognized. Solution: Add patterns for Starlark files. (Amaan Qureshi, closes #12049)
This commit is contained in:
parent
8ad862a1f9
commit
ca06b30073
@ -2025,6 +2025,9 @@ 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
|
||||||
|
|
||||||
|
" Starlark
|
||||||
|
au BufNewFile,BufRead *.ipd,*.star,*.starlark setf starlark
|
||||||
|
|
||||||
" OpenVPN configuration
|
" OpenVPN configuration
|
||||||
au BufNewFile,BufRead *.ovpn setf openvpn
|
au BufNewFile,BufRead *.ovpn setf openvpn
|
||||||
au BufNewFile,BufRead */openvpn/*/*.conf setf openvpn
|
au BufNewFile,BufRead */openvpn/*/*.conf setf openvpn
|
||||||
|
@ -559,6 +559,7 @@ let s:filename_checks = {
|
|||||||
\ 'sshconfig': ['ssh_config', '/.ssh/config', '/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf', 'any/.ssh/config', 'any/.ssh/file.conf'],
|
\ 'sshconfig': ['ssh_config', '/.ssh/config', '/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf', 'any/.ssh/config', 'any/.ssh/file.conf'],
|
||||||
\ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
|
\ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
|
||||||
\ 'st': ['file.st'],
|
\ 'st': ['file.st'],
|
||||||
|
\ 'starlark': ['file.ipd', 'file.star', 'file.starlark'],
|
||||||
\ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
|
\ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
|
||||||
\ 'stp': ['file.stp'],
|
\ 'stp': ['file.stp'],
|
||||||
\ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'],
|
\ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'],
|
||||||
|
@ -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 */
|
||||||
|
/**/
|
||||||
|
1346,
|
||||||
/**/
|
/**/
|
||||||
1345,
|
1345,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user