diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-09 07:11:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-08 23:11:20 +0000 |
| commit | eefb50e352a689ec1a0a55d6827abea79960cd3d (patch) | |
| tree | f6e0af6ec31b738e080406f51d1a1132d9943553 /runtime/lua/vim | |
| parent | 6473d007e7b9f7f14b06190117f0bb0269fa938c (diff) | |
| download | rneovim-eefb50e352a689ec1a0a55d6827abea79960cd3d.tar.gz rneovim-eefb50e352a689ec1a0a55d6827abea79960cd3d.tar.bz2 rneovim-eefb50e352a689ec1a0a55d6827abea79960cd3d.zip | |
vim-patch:9.2.0323: filetype: buf.lock files are not recognized (#38897)
Problem: filetype: buf.lock files are not recognized
Solution: Detect buf.lock files as yaml filetype
(Stefan VanBuren)
Reference:
https://buf.build/docs/configuration/v2/buf-lock/
closes: vim/vim#19935
https://github.com/vim/vim/commit/c2734dc03cd9ee437d25a6940e8c37ac7873b01d
Co-authored-by: Stefan VanBuren <svanburen@buf.build>
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 83f07afb76..e2dbdcdd60 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2035,6 +2035,7 @@ local filename = { ['.clangd'] = 'yaml', ['.clang-format'] = 'yaml', ['.clang-tidy'] = 'yaml', + ['buf.lock'] = 'yaml', ['pixi.lock'] = 'yaml', ['yarn.lock'] = 'yaml', matplotlibrc = 'yaml', |