Mercurial > vim
view src/msvc2015.bat @ 35620:0dc032c77f1a v9.1.0553
patch 9.1.0553: filetype: *.mcmeta files are not recognized
Commit: https://github.com/vim/vim/commit/d33a518025765c4a3530ad6cfb6cab83a30c8f55
Author: Tomodachi94 <tomodachi94@protonmail.com>
Date: Tue Jul 9 19:55:16 2024 +0200
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: #15189
Signed-off-by: Tomodachi94 <tomodachi94@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 09 Jul 2024 20:00:08 +0200 |
parents | fe97616d43d2 |
children |
line wrap: on
line source
@echo off rem To be used on MS-Windows for Visual C++ 2015 (either Express or Community) rem See INSTALLpc.txt for information. rem rem Usage: rem For x86 builds run this without options: rem msvc2015 rem For x64 builds run this with "x86_amd64" option: rem msvc2015 x86_amd64 rem This works on any editions including Express edition. rem If you use Community (or Professional) edition, you can also use "x64" rem option: rem msvc2015 x64 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" %*