vim-patch:9.2.0333: filetype: PklProject files are not recognized (#38949)

Problem:  filetype: PklProject files are not recognized
Solution: Detect PklProject files as pkl filetype
          (Nihaal Sangha).

Reference:
https://pkl-lang.org/
https://github.com/apple/pkl
https://github.com/apple/pkl-pantry

closes: vim/vim#19948

871e6c6cf9

Co-authored-by: Nihaal Sangha <nihaal.git@gmail.com>
This commit is contained in:
zeertzjq
2026-04-11 08:05:43 +08:00
committed by GitHub
parent 4f7b6083e5
commit c4b592a6d0
2 changed files with 2 additions and 1 deletions

View File

@@ -1874,6 +1874,7 @@ local filename = {
pinercex = 'pine',
['/etc/pinforc'] = 'pinfo',
['/.pinforc'] = 'pinfo',
PklProject = 'pkl',
['.povrayrc'] = 'povini',
printcap = function(_path, _bufnr)
return 'ptcap', function(b)