Hi, this is a patch from upstream vim-wasm repository to fix this issue reported in upstream project.
The problem is the name of the filetype wast. When I firstly created this filetype plugin, the file extension for Wasm text format was not fixed and .wast was most 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
To follow the change and avoid confusion in filetype name, this PR renames wast filetype to wat. Since .wast files are highlighted as wat files, the syntax highlighting for .wast files is maintained.
https://github.com/vim/vim/pull/13533
(7 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@rhysd pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@rhysd pushed 1 commit.
—
View it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I included it thanks. I suppose, eventuall we will need a separate wast filetype, which correctly handles the superset features.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Yeah, wast is different from wat so there should be a different syntax file which includes wat syntax file. I need to investigate what wast extends.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()