patch 9.1.1718: filetype: kubectl config file is not recognized
Problem: filetype: kubectl config file is not recognized Solution: Detect .kube/kubectl as yaml filetype (Volodymyr Chernetskyi). References: - https://kubernetes.io/docs/reference/kubectl/kuberc/ closes: #18169 Signed-off-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
be0589f1d2
commit
6cd6857cbe
@ -3064,7 +3064,7 @@ au BufNewFile,BufRead *.y call dist#ft#FTy()
|
||||
|
||||
" Yaml
|
||||
au BufNewFile,BufRead *.yaml,*.yml,*.eyaml setf yaml
|
||||
au BufNewFile,BufRead */.kube/config setf yaml
|
||||
au BufNewFile,BufRead */.kube/config,*/.kube/kuberc setf yaml
|
||||
|
||||
" Raml
|
||||
au BufNewFile,BufRead *.raml setf raml
|
||||
|
Reference in New Issue
Block a user