mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
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:
parent
b155608bff
commit
ee5008f878
@ -1103,8 +1103,8 @@ local extension = {
|
||||
wrl = 'vrml',
|
||||
vroom = 'vroom',
|
||||
vue = 'vue',
|
||||
wat = 'wast',
|
||||
wast = 'wast',
|
||||
wat = 'wat',
|
||||
wdl = 'wdl',
|
||||
wm = 'webmacro',
|
||||
wbt = 'winbatch',
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user