vim-patch:9.0.1425: "wat" and "wast" files are one filetype (#22774)

Problem:    "wat" and "wast" files are one filetype.
Solution:   Add a separate filetype for "wat" files. (Amaan Qureshi,
            closes vim/vim#12165)

3ea62381c5

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
Christian Clason 2023-03-24 14:06:04 +01:00 committed by GitHub
parent b155608bff
commit ee5008f878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1103,8 +1103,8 @@ local extension = {
wrl = 'vrml',
vroom = 'vroom',
vue = 'vue',
wat = 'wast',
wast = 'wast',
wat = 'wat',
wdl = 'wdl',
wm = 'webmacro',
wbt = 'winbatch',

View File

@ -658,7 +658,8 @@ let s:filename_checks = {
\ 'vrml': ['file.wrl'],
\ 'vroom': ['file.vroom'],
\ 'vue': ['file.vue'],
\ 'wast': ['file.wast', 'file.wat'],
\ 'wat': ['file.wat'],
\ 'wast': ['file.wast'],
\ 'wdl': ['file.wdl'],
\ 'webmacro': ['file.wm'],
\ 'wget': ['.wgetrc', 'wgetrc'],