mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00: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:
@@ -1103,8 +1103,8 @@ local extension = {
|
|||||||
wrl = 'vrml',
|
wrl = 'vrml',
|
||||||
vroom = 'vroom',
|
vroom = 'vroom',
|
||||||
vue = 'vue',
|
vue = 'vue',
|
||||||
wat = 'wast',
|
|
||||||
wast = 'wast',
|
wast = 'wast',
|
||||||
|
wat = 'wat',
|
||||||
wdl = 'wdl',
|
wdl = 'wdl',
|
||||||
wm = 'webmacro',
|
wm = 'webmacro',
|
||||||
wbt = 'winbatch',
|
wbt = 'winbatch',
|
||||||
|
@@ -658,7 +658,8 @@ let s:filename_checks = {
|
|||||||
\ 'vrml': ['file.wrl'],
|
\ 'vrml': ['file.wrl'],
|
||||||
\ 'vroom': ['file.vroom'],
|
\ 'vroom': ['file.vroom'],
|
||||||
\ 'vue': ['file.vue'],
|
\ 'vue': ['file.vue'],
|
||||||
\ 'wast': ['file.wast', 'file.wat'],
|
\ 'wat': ['file.wat'],
|
||||||
|
\ 'wast': ['file.wast'],
|
||||||
\ 'wdl': ['file.wdl'],
|
\ 'wdl': ['file.wdl'],
|
||||||
\ 'webmacro': ['file.wm'],
|
\ 'webmacro': ['file.wm'],
|
||||||
\ 'wget': ['.wgetrc', 'wgetrc'],
|
\ 'wget': ['.wgetrc', 'wgetrc'],
|
||||||
|
Reference in New Issue
Block a user