diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index a53216f8ea..634f5c6a58 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1049,6 +1049,7 @@ local extension = { wat = 'wat', wdl = 'wdl', wm = 'webmacro', + wgsl = 'wgsl', wbt = 'winbatch', wit = 'wit', wml = 'wml', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 57e3c1d1cf..829b825fa4 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -697,6 +697,7 @@ func s:GetFilenameChecks() abort \ 'webmacro': ['file.wm'], \ 'wget': ['.wgetrc', 'wgetrc'], \ 'wget2': ['.wget2rc', 'wget2rc'], + \ 'wgsl': ['file.wgsl'], \ 'winbatch': ['file.wbt'], \ 'wit': ['file.wit'], \ 'wml': ['file.wml'],