mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.0814: aws config files are not recognized (#20769)
vim-patch:436e5d395fd6 (since upstream tagged the wrong commit)
Problem: Aws config files are not recognized.
Solution: Use "confini" for aws config files. (Justin M. Keyes,
closes vim/vim#11416)
436e5d395f
This commit is contained in:
parent
fa6556515f
commit
8371907203
@ -1791,6 +1791,8 @@ local pattern = {
|
||||
['.*/etc/DIR_COLORS'] = 'dircolors',
|
||||
['.*/etc/dnsmasq%.conf'] = 'dnsmasq',
|
||||
['php%.ini%-.*'] = 'dosini',
|
||||
['.*/%.aws/config'] = 'confini',
|
||||
['.*/%.aws/credentials'] = 'confini',
|
||||
['.*/etc/pacman%.conf'] = 'confini',
|
||||
['.*/etc/yum%.conf'] = 'dosini',
|
||||
['.*lvs'] = 'dracula',
|
||||
|
@ -122,7 +122,7 @@ let s:filename_checks = {
|
||||
\ 'conaryrecipe': ['file.recipe'],
|
||||
\ 'conf': ['auto.master'],
|
||||
\ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'],
|
||||
\ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf'],
|
||||
\ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials'],
|
||||
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
||||
\ 'cook': ['file.cook'],
|
||||
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
|
||||
|
Loading…
Reference in New Issue
Block a user