mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
vim-patch:9.1.1717: filetype: AWS cli alias file is not recognized #35581
Problem: filetype: AWS cli alias file is not recognized
Solution: Detect .aws/cli/alias as confini filetype
(Volodymyr Chernetskyi).
References:
- https://docs.aws.amazon.com/cli/v1/userguide/cli-usage-alias.html
related: vim/vim#18169
be0589f1d2
This commit is contained in:

committed by
GitHub

parent
d4f789fd78
commit
8fc1db043a
@@ -2236,6 +2236,7 @@ local pattern = {
|
|||||||
},
|
},
|
||||||
['/%.'] = {
|
['/%.'] = {
|
||||||
['/%.aws/credentials$'] = 'confini',
|
['/%.aws/credentials$'] = 'confini',
|
||||||
|
['/%.aws/cli/alias$'] = 'confini',
|
||||||
['/%.gitconfig%.d/'] = starsetf('gitconfig'),
|
['/%.gitconfig%.d/'] = starsetf('gitconfig'),
|
||||||
['/%.gnupg/gpg%.conf$'] = 'gpg',
|
['/%.gnupg/gpg%.conf$'] = 'gpg',
|
||||||
['/%.gnupg/options$'] = 'gpg',
|
['/%.gnupg/options$'] = 'gpg',
|
||||||
|
@@ -192,7 +192,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'conaryrecipe': ['file.recipe'],
|
\ 'conaryrecipe': ['file.recipe'],
|
||||||
\ 'conf': ['auto.master', 'file.conf', 'texdoc.cnf', '.x11vncrc', '.chktexrc', '.ripgreprc', 'ripgreprc', 'file.ctags'],
|
\ 'conf': ['auto.master', 'file.conf', 'texdoc.cnf', '.x11vncrc', '.chktexrc', '.ripgreprc', 'ripgreprc', 'file.ctags'],
|
||||||
\ 'config': ['/etc/hostname.file', 'any/etc/hostname.file', 'configure.in', 'configure.ac', 'file.at', 'aclocal.m4'],
|
\ 'config': ['/etc/hostname.file', 'any/etc/hostname.file', 'configure.in', 'configure.ac', 'file.at', 'aclocal.m4'],
|
||||||
\ 'confini': ['pacman.conf', 'paru.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection',
|
\ 'confini': ['pacman.conf', 'paru.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'any/.aws/cli/alias', 'file.nmconnection',
|
||||||
\ 'any/.gnuradio/grc.conf', 'any/gnuradio/config.conf', 'any/gnuradio/conf.d/modtool.conf'],
|
\ 'any/.gnuradio/grc.conf', 'any/gnuradio/config.conf', 'any/gnuradio/conf.d/modtool.conf'],
|
||||||
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
||||||
\ 'cook': ['file.cook'],
|
\ 'cook': ['file.cook'],
|
||||||
|
Reference in New Issue
Block a user