summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-03-23 15:45:46 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-23 15:45:46 +0000
commit3ea62381c527395ae701715335776f427d22eb7b (patch)
tree46be277416a7a9410aee099c256f921dc40ab805 /runtime
parent7ac36130e09d56c75134655a6b12218ddafeaa8b (diff)
downloadvim-git-3ea62381c527395ae701715335776f427d22eb7b.tar.gz
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.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 322e1cc7d..a286717d1 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