From bc8f79d36a456054ed29f46585830af6d71f57c8 Mon Sep 17 00:00:00 2001 From: rhysd Date: Tue, 14 Nov 2023 16:46:07 +0100 Subject: patch 9.0.2104: wast filetype should be replaced by wat filetype Problem: wast filetype should be replaced by wat filetype Solution: start using the official wat filetype name runtime: rename `wast` filetype to `wat` (Wasm text format) The problem is the name of the current filetype wast. When the plugin was initially created, the file extension for Wasm text format was not fixed and .wast was more popular. However, recently .wat became the official file extension for WebAssembly text (WAT) format and .wast is now a file extension for the unofficial WAST format, which is a superset of .wat for the convenience to describe the Wasm specification conformance tests. https://webassembly.js.org/docs/contrib-wat-vs-wast.html However for now, let's keep using the `wat` filetype even for the .wast extension, so that we at least do not lose the filetype settings and syntax highlighting. This can be adjusted later, if it turns out to have a separate need for. closes: #13533 Signed-off-by: rhysd Signed-off-by: Christian Brabandt --- src/testdir/test_filetype.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/testdir/test_filetype.vim') diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 9a0a6dad52..483d01b89b 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -786,8 +786,7 @@ def s:GetFilenameChecks(): dict> vrml: ['file.wrl'], vroom: ['file.vroom'], vue: ['file.vue'], - wat: ['file.wat'], - wast: ['file.wast'], + wat: ['file.wat', 'file.wast'], wdl: ['file.wdl'], webmacro: ['file.wm'], wget: ['.wgetrc', 'wgetrc'], -- cgit v1.2.3