diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-09 20:05:04 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-10 09:31:48 +0200 |
commit | 17bc5af01bfb0141b0abbe5894dc1eca7eaa684f (patch) | |
tree | a7e3368a201c78413e05b4a8dcda838e1a245679 /runtime/lua/vim/_options.lua | |
parent | 7fa089f463dac83f256a8336ddb0adc9eae483a2 (diff) | |
download | rneovim-17bc5af01bfb0141b0abbe5894dc1eca7eaa684f.tar.gz rneovim-17bc5af01bfb0141b0abbe5894dc1eca7eaa684f.tar.bz2 rneovim-17bc5af01bfb0141b0abbe5894dc1eca7eaa684f.zip |
vim-patch:9.1.0553: filetype: *.mcmeta files are not recognized
Problem: filetype: *.mcmeta files are not recognized
Solution: Detect '*.mcmeta' files as json filetype
(Tomodachi94)
"pack.mcmeta" was added to the JSON tests because that is the most common
filename with that extension.
There are currently 34,000 instances of this file extension on GitHub:
https://github.com/search?q=path%3A*.mcmeta&type=code&p=2
.zip files with this extension have downloads in the millions on sites
like CurseForge:
https://www.curseforge.com/minecraft/search?page=1&pageSize=20&sortBy=relevancy&class=texture-packs
Further reading about the file extension:
https://minecraft.wiki/w/Tutorials/Creating_a_resource_pack#Creating_a_.MCMETA_file
closes: vim/vim#15189
https://github.com/vim/vim/commit/d33a518025765c4a3530ad6cfb6cab83a30c8f55
Co-authored-by: Tomodachi94 <tomodachi94@protonmail.com>
Diffstat (limited to 'runtime/lua/vim/_options.lua')
0 files changed, 0 insertions, 0 deletions