diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-07-15 22:48:15 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-07-16 10:32:33 +0200 |
| commit | 8bccd07972523936fe536fdade22d2f72eab3ef0 (patch) | |
| tree | 4703822ab55bb6be470d945aa741292331241494 /runtime/lua/vim/filetype.lua | |
| parent | 4195b82ec9ed9c7c573bbcaaa642c5ab3c9f9167 (diff) | |
vim-patch:9.1.1549: filetype: pkl files are not recognized
Problem: filetype: pkl files are not recognized
Solution: detect *.pkl files as pkl filetype, include
a filetype plugin (Riley Bruins)
References:
https://pkl-lang.org/
https://github.com/apple/pkl
closes: vim/vim#17751
https://github.com/vim/vim/commit/d128889b306680338dbfb54ccc1ff32dc114165d
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat (limited to 'runtime/lua/vim/filetype.lua')
| -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 73d56228b2..da9f263ab3 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -949,6 +949,7 @@ local extension = { pike = 'pike', pmod = 'pike', rcp = 'pilrc', + pkl = 'pkl', PL = detect.pl, pli = 'pli', pl1 = 'pli', |
