diff options
author | Amaan Qureshi <amaanq12@gmail.com> | 2023-03-23 15:45:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-23 15:45:46 +0000 |
commit | 3ea62381c527395ae701715335776f427d22eb7b (patch) | |
tree | 46be277416a7a9410aee099c256f921dc40ab805 /runtime | |
parent | 7ac36130e09d56c75134655a6b12218ddafeaa8b (diff) |
patch 9.0.1425: "wat" and "wast" files are one filetypev9.0.1425
Problem: "wat" and "wast" files are one filetype.
Solution: Add a separate filetype for "wat" files. (Amaan Qureshi,
closes #12165)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 322e1cc7dd..a286717d16 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2343,7 +2343,8 @@ au BufNewFile,BufRead *.vroom setf vroom au BufNewFile,BufRead *.vue setf vue " WebAssembly -au BufNewFile,BufRead *.wast,*.wat setf wast +au BufNewFile,BufRead *.wat setf wat +au BufNewFile,BufRead *.wast setf wast " WebAssembly Interface Type (WIT) au BufNewFile,BufRead *.wit setf wit |