patch 9.1.0853: filetype: kubernetes config file not recognized

Problem:  filetype: kubernetes config file not recognized
Solution: detect '/.kube/config' file as yaml filetype
          (Jonathan Lopez)

closes: #11076

Signed-off-by: Jonathan Lopez <jonathanglopez@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jonathan Lopez
2024-11-11 21:03:31 +01:00
committed by Christian Brabandt
parent 45e0704d96
commit 6fbf63de86
3 changed files with 5 additions and 1 deletions

View File

@ -2919,6 +2919,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
" Raml
au BufNewFile,BufRead *.raml setf raml