diff options
author | rhysd <lin90162@yahoo.co.jp> | 2023-11-14 16:46:07 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-14 16:46:07 +0100 |
commit | bc8f79d36a456054ed29f46585830af6d71f57c8 (patch) | |
tree | b9a1e2fafc15d9a35b8b42ab1e83466ddfa40966 /src | |
parent | 30c762d99ac8e755afb00f89ddd009988e95abce (diff) |
patch 9.0.2104: wast filetype should be replaced by wat filetypev9.0.2104
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 <lin90162@yahoo.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 3 |
1 files changed, 1 insertions, 2 deletions
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<list<string>> 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'], |