aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-11-11 22:30:04 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-11-12 08:18:38 +0100
commit295f98c8e0d991bdf336d1300abafaa4cad841d1 (patch)
treed5f471bd5f79ee52c6d6e988f655e9384b22baaa /runtime/lua/vim
parentc026a114b51222c7d858947ef8caef48813c3674 (diff)
downloadrneovim-295f98c8e0d991bdf336d1300abafaa4cad841d1.tar.gz
rneovim-295f98c8e0d991bdf336d1300abafaa4cad841d1.tar.bz2
rneovim-295f98c8e0d991bdf336d1300abafaa4cad841d1.zip
vim-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: vim/vim#11076 https://github.com/vim/vim/commit/6fbf63de865001dedafc227465e651926cf6f6dc Co-authored-by: Jonathan Lopez <jonathanglopez@gmail.com>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index eda4c6a479..f22d814647 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -2148,6 +2148,7 @@ local pattern = {
['/sway/config$'] = 'swayconfig',
['/%.cargo/config$'] = 'toml',
['/%.bundle/config$'] = 'yaml',
+ ['/%.kube/config$'] = 'yaml',
},
['/%.'] = {
['/%.aws/credentials$'] = 'confini',