mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
vim-patch:9.1.1718: filetype: kubectl config file is not recognized #35583
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: vim/vim#18169
6cd6857cbe
This commit is contained in:
committed by
GitHub
parent
8fc1db043a
commit
06df337617
@@ -2245,6 +2245,7 @@ local pattern = {
|
||||
['/%.pinforc$'] = 'pinfo',
|
||||
['/%.cargo/credentials$'] = 'toml',
|
||||
['/%.init/.*%.override$'] = 'upstart',
|
||||
['/%.kube/kuberc$'] = 'yaml',
|
||||
},
|
||||
['calendar/'] = {
|
||||
['/%.calendar/'] = starsetf('calendar'),
|
||||
|
||||
Reference in New Issue
Block a user